Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http sofya https://mcp.sofya.co/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sofya": {
"url": "https://mcp.sofya.co/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sofya": {
"type": "http",
"url": "https://mcp.sofya.co/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 sofya.co 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.28.0)于9天前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
MCP server for Sofya - web search, fetch, extract, and deep research for AI agents, exposed over the Model Context Protocol.
Use it either way:
https://mcp.sofya.co/mcp (streamable HTTP). Sign in with OAuth, or send your API key as a Bearer token. This is the server listed in the MCP registry as co.sofya/sofya.Eligible GitHub accounts (a year or older) get free monthly credits; everyone else pays as they go.
| Tool | What it does | Cost |
|---|---|---|
search | Search the web and get extracted page content (not just snippets). Supports news topic, domain filters, freshness, and an optional AI-synthesized answer. | 1-2 credits (+2 for include_answer) |
fetch | Fetch up to 10 URLs as clean markdown. Also handles PDF, DOCX, XLSX, PPTX, EPUB, and more. | 1 credit / URL |
extract | Fetch a page and pull specific information from it using AI. | 10 credits |
research | Decompose a question into sub-queries, read many sources in parallel, and synthesize a cited report. | 50 credits |
get_balance | Show the account's remaining credits. Hosted server only. | free |
buy_credits | Return a payment link for a credit top-up. It does not charge anything. Hosted server only. | free |
search, fetch, extract, research and get_balance are read-only.
Point your client at the hosted endpoint. Clients with OAuth support (Claude, VS Code, Cursor, Cline and others) only need the URL and will ask you to sign in. To use an API key instead, get one at sofya.co (keys look like sofya_live_...) and send it as a Bearer token:
VS Code / GitHub Copilot (.vscode/mcp.json):
{
"servers": { "sofya": { "type": "http", "url": "https://mcp.sofya.co/mcp", "headers": { "Authorization": "Bearer sofya_live_..." } } } }
Claude Code, as a plugin (signs in with OAuth; plugin files in plugins/sofya):
/plugin install sofya --marketplace sofya-co/sofya-mcp
Claude Code, with an API key:
claude mcp add --transport http sofya https://mcp.sofya.co/mcp --header "Authorization: Bearer sofya_live_..."
Cursor (~/.cursor/mcp.json):
{
"mcpServers": { "sofya": { "url": "https://mcp.sofya.co/mcp", "headers": { "Authorization": "Bearer sofya_live_..." } } } }
Cline:
cline mcp install sofya --transport http https://mcp.sofya.co/mcp
Or in cline_mcp_settings.json:
{
"mcpServers": { "sofya": { "type": "streamableHttp", "url": "https://mcp.sofya.co/mcp", "headers": { "Authorization": "Bearer sofya_live_..." } } } }
Then ask your agent things like "search for the latest Node.js LTS release notes", "fetch this PDF and summarize it", or "research how the EU AI Act treats open-weight models". Full API docs: sofya.co/docs.
sofya_live_...)git clone https://github.com/sofya-co/sofya-mcp.git
cd sofya-mcp npm install # also builds to build/index.js
Check it starts:
SOFYA_API_KEY=sofya_live_... node build/index.js
In the examples below, replace /path/to/sofya-mcp with the folder you cloned.
claude mcp add sofya --env SOFYA_API_KEY=sofya_live_... -- node /path/to/sofya-mcp/build/index.js
Add this to your MCP config (e.g. claude_desktop_config.json, or .cursor/mcp.json):
{
"mcpServers": { "sofya": { "command": "node", "args": ["/path/to/sofya-mcp/build/index.js"], "env": { "SOFYA_API_KEY": "sofya_live_..." } } } }
Add it with the Codex CLI:
codex mcp add sofya --env SOFYA_API_KEY=sofya_live_... -- node /path/to/sofya-mcp/build/index.js
Or edit ~/.codex/config.toml directly. Note Codex puts environment variables in a nested [mcp_servers. .env] table:
[mcp_servers.sofya]
command = "node" args = ["/path/to/sofya-mcp/build/index.js"]
[mcp_servers.sofya.env] SOFYA_API_KEY = "sofya_live_..."
Then run /mcp inside Codex to confirm the server is connected.
| Variable | Required | Default | Description |
|---|---|---|---|
SOFYA_API_KEY | yes | - | Your Sofya API key (sofya_live_...; older ay_live_... keys still work). |
SOFYA_BASE_URL | no | https://sofya.co | Override the Sofya API base URL. |
CLI flags --api-key and --base-url take precedence over the env vars. Run node build/index.js --list-tools to print the tool schemas, or --help for options.
npm run build # compile TypeScript to build/
npm run watch # recompile on change npm run inspector # debug with @modelcontextprotocol/inspector
The server is a single file, src/index.ts. Tool definitions mirror Sofya's hosted MCP server exactly (same names, parameters, and defaults).
MIT - see LICENSE.