Hosted Machine Library MCP server for research retrieval

Hosted Machine Library MCP server for research retrieval

mcp-spacefrontiers•byspacefrontiers

A retrieval layer for AI agents over peer-reviewed papers, books, patents, standards, Wikipedia, Reddit, Telegram, Discord, and YouTube, returning bounded full text and canonical source URIs for citation.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Unified ranked search across papers, books, patents, standards, Wikipedia, YouTube transcripts, Reddit, Telegram channels and Discord, narrowable by type, ISSN or URI prefix.
  • •Fetches bounded full text plus up to 50 references for a single canonical URI, defaulting to 40K characters and supporting up to 100K.
  • •Finds up to five matching passages within one document, intended for documents over roughly 20K tokens.
  • •Search results are compact and hybrid-ranked, handling up to 30 results, each with source, canonical URI, snippet, abstract preview, score, authors, date, type and estimated full-text size.

BEST FOR

  • •Research teams that need to locate supporting passages and retain citations for evidence trails.
  • •AI agents that need cited, bounded full text from academic and social sources when answering research questions.
  • •Multi-server agent setups that need collision-free, read-only retrieval tools with namespace prefixes.

ABOUT MCP-SPACEFRONTIERS

Hosted Machine Library MCP server for research retrieval is cataloged as an MCP server attributed to spacefrontiers. A retrieval layer for AI agents over peer-reviewed papers, books, patents, standards, Wikipedia, Reddit, Telegram, Discord, and YouTube, returning bounded full text and canonical source URIs for citation. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Hosted Machine Library MCP server for research retrieval are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Are the retrieval tools read-only?

Yes. The three core retrieval tools are read-only and idempotent, and each tool declares readOnlyHint, idempotentHint, openWorldHint and destructiveHint:false.

Can the server be self-hosted?

Yes. The repository describes a self-hosted stdio mode using an environment variable as the upstream API credential and an endpoint setting to select the public Machine Library API.

What transport and authentication does the hosted server use?

The hosted server uses Streamable HTTP with OAuth 2.1 including Dynamic Client Registration, and also accepts long-lived API keys.

上游原版 README

在 GitHub 查看同一版本原文

README.md · d49ba0270d6a · 采集于 2026-11-13 10:12:42 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Machine Library MCP Server

Official MCP server for Machine Library, the search and AI product by Space Frontiers Company.

A retrieval layer for AI agents over peer-reviewed papers, books, patents, standards, Wikipedia, Reddit, Telegram, Discord, and YouTube. Returns bounded full text and canonical source URIs for citation.

Hosted at https://mcp.machinelibrary.ai/ (Streamable HTTP transport, OAuth 2.1 with PKCE or Bearer API key).

Try a worked example: Find research, inspect supporting passages, and retain citations. Includes exact tool calls and observations from a live run, plus a small evaluation checklist for research teams.

Machine Library MCP

Tools

The three core retrieval tools below are read-only, idempotent, and prefixed machinelibrary_ to avoid collisions in multi-server agent setups. This repository implements them. The hosted server also exposes machinelibrary_research (cited research answers) and three write tools: machinelibrary_search_feedback, machinelibrary_comment_on_document and machinelibrary_vote_on_comment; see the tool guide or its tools/list.

ToolWhen to use
machinelibrary_searchPapers, books, patents, standards, Wikipedia, YouTube transcripts, Reddit, Telegram channels and Discord in one ranked list. Narrow with filter_types, filter_issns or filter_uri_prefixes.
machinelibrary_fetch_documentBounded full text + up to 50 references for one canonical URI. Defaults to 40K characters; supports up to 100K.
machinelibrary_search_in_documentUp to five matching passages within one document. Use for documents over ~20K tokens.

Search defaults to 10 compact, hybrid-ranked results and is capped at 30. Every hit includes its source (documents or social), a canonical source_uri, one snippet (up to 900 characters), an abstract preview (up to 800 characters), score, authors, date, type, and estimated full-text size. Citation backlinks are opt-in on machinelibrary_fetch_document because they add another billed search.

Install

The hosted server has its own /mcp install page with one-click links for Cursor, VS Code, and Smithery.

claude mcp add --transport http --scope user machinelibrary https://mcp.machinelibrary.ai

On first use a browser opens for OAuth login — no API key paste required.

Cursor / VS Code / Cline / Windsurf (HTTP)

{
  "mcpServers": {
    "machinelibrary": {
      "type": "http",
      "url": "https://mcp.machinelibrary.ai",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Get an API key at https://machinelibrary.ai/keys.

Self-hosted (stdio)

git clone https://github.com/SpaceFrontiers/mcp.git
cd mcp
uv sync
SEARCH_API_ENDPOINT=https://api.machinelibrary.ai \
MACHINELIBRARY_API_KEY=ml_xxx uv run fastmcp run mcp_server.py

The environment variable is used as the upstream API credential in stdio mode. The command selects the public Machine Library API with SEARCH_API_ENDPOINT. The internal default remains http://search-api for existing deployments. For HTTP deployments, set SEARCH_API_ENDPOINT to your trusted internal search API and USERS_API_ENDPOINT to your internal users API; the auth middleware forwards verified identity headers to that internal service. OAuth uses the https://api.machinelibrary.ai authorization server and browser sign-in at https://machinelibrary.ai.

Pricing

  • Search: $0.01 base + $0.001 per returned result (the 10-result MCP default costs $0.02).
  • Full document fetch: $0.05.
  • In-document passage search: $0.015.
  • referenced_by_limit > 0 on a fetch adds a separately billed search.

Add credits at https://machinelibrary.ai/payments.

Repository layout

  • mcp_server.py — Starlette + FastMCP entrypoint, OAuth well-known endpoints.
  • tools.py — three tools with Pydantic output schemas.
  • prompts.py — deep_research_agent prompt.
  • resources.py — machinelibrary://document/{uri_b64} URI template.
  • auth.py — Bearer-token validation, Origin allowlist, MCP-Protocol-Version check.
  • client.py — async HTTP client for the v2 search API.
  • server.json — Official MCP Registry entry.
  • smithery.yaml — Smithery deployment config.
  • registry.json — in-house registry metadata.
  • tests/ — pytest unit tests.

Spec compliance

  • Transport: Streamable HTTP, stateless.
  • Auth: OAuth 2.1 with RFC 7591 Dynamic Client Registration; long-lived API keys also accepted.
  • Annotations: every tool declares readOnlyHint, idempotentHint, openWorldHint, destructiveHint:false.
  • Output schemas: every tool's outputSchema is auto-generated from a Pydantic return model.
  • Resources: one URI template registered for documents.
  • Spec versions accepted: 2025-03-26, 2025-06-18, 2025-11-25.

Development

uv sync
uv run pytest
uv run ruff check .

mcp-name: io.github.SpaceFrontiers/mcp

Compatibility

Existing accounts and API keys work unchanged, and the former https://mcp.spacefrontiers.org endpoint remains supported; new setups should use https://mcp.machinelibrary.ai. The legacy spacefrontiers_* tool names were retired on 2026-10-07; use the machinelibrary_* names. Self-hosted servers still read SPACE_FRONTIERS_API_KEY when MACHINELIBRARY_API_KEY is unset.

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Hosted Machine Library MCP server for research retrieval from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-spacefrontiers)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research