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.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取知識與記憶

概覽

AI 產生的概覽

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。
安裝前請注意
用量以額度計費:搜尋 1-2 額度(加答案再加 2),抓取每個網址 1 額度,擷取 10 額度,研究 50 額度,頻繁使用會產生費用。符合條件的 GitHub 帳戶每月有免費額度,其餘按用量付費。API 金鑰屬機密,請勿放入共用設定。查詢內容與抓取的網址會傳送到 Sofya 服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sofya,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

[Listed on mcpservers.org]

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 as co.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

ToolWhat it doesCost
searchSearch 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)
fetchFetch up to 10 URLs as clean markdown. Also handles PDF, DOCX, XLSX, PPTX, EPUB, and more.1 credit / URL
extractFetch a page and pull specific information from it using AI.10 credits
researchDecompose a question into sub-queries, read many sources in parallel, and synthesize a cited report.50 credits
get_balanceShow the account's remaining credits. Hosted server only.free
buy_creditsReturn 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.

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):

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):

bash
/plugin install sofya --marketplace sofya-co/sofya-mcp

Claude Code, with an API key:

bash
claude mcp add --transport http sofya https://mcp.sofya.co/mcp --header "Authorization: Bearer sofya_live_..."

Cursor (~/.cursor/mcp.json):

json
{  "mcpServers": {    "sofya": {      "url": "https://mcp.sofya.co/mcp",      "headers": { "Authorization": "Bearer sofya_live_..." }    }  }}

Cline:

bash
cline mcp install sofya --transport http https://mcp.sofya.co/mcp

Or in cline_mcp_settings.json:

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.

Local server

Prerequisites

  • Node.js 18+
  • A Sofya API key - get one at sofya.co (keys look like sofya_live_...)

Build

bash
git clone https://github.com/sofya-co/sofya-mcp.gitcd sofya-mcpnpm install          # also builds to build/index.js

Check it starts:

bash
SOFYA_API_KEY=sofya_live_... node build/index.js

In the examples below, replace /path/to/sofya-mcp with the folder you cloned.

Configuration

Claude Code
bash
claude mcp add sofya --env SOFYA_API_KEY=sofya_live_... -- node /path/to/sofya-mcp/build/index.js
Claude Desktop / Cursor / Windsurf / VS Code

Add this to your MCP config (e.g. claude_desktop_config.json, or .cursor/mcp.json):

json
{  "mcpServers": {    "sofya": {      "command": "node",      "args": ["/path/to/sofya-mcp/build/index.js"],      "env": {        "SOFYA_API_KEY": "sofya_live_..."      }    }  }}
Codex

Add it with the Codex CLI:

bash
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.<name>.env] table:

toml
[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.

Environment variables

VariableRequiredDefaultDescription
SOFYA_API_KEYyes-Your Sofya API key (sofya_live_...; older ay_live_... keys still work).
SOFYA_BASE_URLnohttps://sofya.coOverride 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.

Development

bash
npm run build        # compile TypeScript to build/npm run watch        # recompile on changenpm 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).

License

MIT - see LICENSE.

來源:README.md,提交 9403747

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

3
  1. v1.28.0最新Oct 29, 2026
  2. v1.27.1Oct 5, 2026
  3. v1.27.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分