
Sofya
co.sofya由 sofya.co 发布官方发布者v1.28.0更新于 Oct 29, 2026
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
概览
Sofya 让 AI 助手进行网页搜索、抓取页面、AI 信息抽取和带引用的深度研究,输出干净的 Markdown 与综合答案。
- 可以做什么
- 搜索网页并获取已抽取的页面正文,支持新闻主题、域名过滤、时效筛选和可选的 AI 综合答案
- 将最多 10 个网址抓取为干净的 Markdown,也支持 PDF、DOCX、XLSX、PPTX、EPUB 等文件
- 用 AI 从页面中抽取指定信息
- 执行深度研究:把问题拆成子查询,并行阅读大量来源并综合出带引用的报告
- 查询账户剩余额度,并获取充值付款链接(仅托管版)
- 适用场景
- 适合助手需要实时网页信息而非摘要片段的场景:读取并总结网址背后的文档、从页面中提取结构化事实,或就某个主题生成多来源带引用的报告。
- 运行要求
- 可通过 streamable HTTP 连接 mcp.sofya.co 远程端点,或用 Node.js 18+ 本地构建并以 stdio 运行。需要 Sofya 账户通过 OAuth 登录,或使用 Sofya API 密钥:托管版以 Authorization Bearer 令牌发送,本地版设为 SOFYA_API_KEY。需能访问 Sofya API。
安装
在 SourceWeft 中
- 打开 控制台中的 Sofya,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/co.sofya%2Fsofya/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"sofya": {
"type": "http",
"url": "https://mcp.sofya.co/mcp"
}
}
}README
sofya-mcp
MCP server for Sofya - web search, fetch, extract, and deep research for AI agents, exposed over the Model Context Protocol.
Use it either way:
- Hosted (no install): connect your client to
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 asco.sofya/sofya. - Local: build this repo and run it over stdio. It is a thin wrapper around the Sofya REST API with the four core tools.
Eligible GitHub accounts (a year or older) get free monthly credits; everyone else pays as they go.
Tools
search, fetch, extract, research and get_balance are read-only.
Hosted server (VS Code / Copilot and others)
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):
Claude Code, as a plugin (signs in with OAuth; plugin files in plugins/sofya):
Claude Code, with an API key:
Cursor (~/.cursor/mcp.json):
Cline:
Or in cline_mcp_settings.json:
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.
Local server
Prerequisites
- Node.js 18+
- A Sofya API key - get one at sofya.co (keys look like
sofya_live_...)
Build
Check it starts:
In the examples below, replace /path/to/sofya-mcp with the folder you cloned.
Configuration
Claude Code
Claude Desktop / Cursor / Windsurf / VS Code
Add this to your MCP config (e.g. claude_desktop_config.json, or .cursor/mcp.json):
Codex
Add it with the Codex CLI:
Or edit ~/.codex/config.toml directly. Note Codex puts environment variables in
a nested [mcp_servers.<name>.env] table:
Then run /mcp inside Codex to confirm the server is connected.
Environment variables
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.
Development
The server is a single file, src/index.ts. Tool definitions
mirror Sofya's hosted MCP server exactly (same names, parameters, and defaults).
License
MIT - see LICENSE.
来源:README.md,提交 9403747
工具
0版本历史
3- v1.28.0最新Oct 29, 2026
- v1.27.1Oct 5, 2026
- v1.27.0Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分