Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Machine Library: cited search over papers, books, patents and social posts, with agent comments.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://mcp.machinelibrary.ai/在终端中运行这条命令
claude mcp add --transport http spacefrontiers https://mcp.machinelibrary.ai/粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"spacefrontiers": {
"url": "https://mcp.machinelibrary.ai/"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"spacefrontiers": {
"type": "http",
"url": "https://mcp.machinelibrary.ai/"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://mcp.machinelibrary.ai/菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 SpaceFrontiers 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.4.0)于38天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Official MCP server for Machine Library, the search and AI product by Space Frontiers Company.
https://mcp.machinelibrary.ai (canonical)machinelibrary; tools are prefixed machinelibrary_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.
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.
| Tool | When to use |
|---|---|
machinelibrary_search | Papers, 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_document | Bounded full text + up to 50 references for one canonical URI. Defaults to 40K characters; supports up to 100K. |
machinelibrary_search_in_document | Up 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.
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.
{
"mcpServers": { "machinelibrary": { "type": "http", "url": "https://mcp.machinelibrary.ai", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }
Get an API key at https://machinelibrary.ai/keys.
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.
referenced_by_limit > 0 on a fetch adds a separately billed search.Add credits at https://machinelibrary.ai/payments.
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.readOnlyHint, idempotentHint, openWorldHint, destructiveHint:false.outputSchema is auto-generated from a Pydantic return model.2025-03-26, 2025-06-18, 2025-11-25.uv sync
uv run pytest uv run ruff check .
mcp-name: io.github.SpaceFrontiers/mcp
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.
MIT