Enables AI agents to perform web searches, fetch content as markdown, extract specific data, and conduct deep research with cited reports.
Also known as sofya-co/sofya-mcp, sofya-mcp
- Stars
- 2
- Tools
- 6
- Downloads, 30 days
- —
- Latest version
- 1.32.0
- Last commit
- Nov 11, 2026
- License
- MIT
What is Sofya MCP?
Sofya enables AI agents to perform web searches, fetch content as markdown, extract specific data, and conduct deep research with cited reports. It exposes 6 tools, such as search, fetch, extract.
Summary generated from the project's README
About Sofya MCP server
Sofya provides AI agents with the ability to interact with the web through specialized tools for searching, fetching, and extracting information. Developers can use this server in a hosted configuration by connecting to a remote HTTP endpoint via OAuth or an API key, or they can run it locally using stdio. This flexibility allows integration with clients like Claude, Cursor, VS Code, and Cline.
The server includes specific tools such as search for finding web content, fetch for converting URLs or files like PDFs and DOCX into markdown, and extract for pulling specific data points using AI. For more complex tasks, the research tool decomposes questions into sub-queries to create cited reports. Users manage their usage through a credit system, where GitHub accounts older than one year may receive free monthly credits.
What you can do with it
- 1Convert documents to markdownProvide a URL to a PDF or spreadsheet and have the agent read the content as clean text.
- 2Search with AI summariesExecute a web search that includes an AI-generated answer alongside the results.
Written from the project's README. Every use case is checked against a quote from it.
How to install Sofya MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall Sofya MCP in Claude Code
$ claude mcp add --transport http sofya-mcp https://mcp.sofya.co/mcpInstall Sofya MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"sofya-mcp": {
"url": "https://mcp.sofya.co/mcp"
}
}
}Install Sofya MCP in VS Code
.vscode/mcp.json
{
"servers": {
"sofya-mcp": {
"type": "http",
"url": "https://mcp.sofya.co/mcp"
}
}
}Install Sofya MCP in VS Code CLI
$ code --add-mcp '{"name":"sofya-mcp","type":"http","url":"https://mcp.sofya.co/mcp"}'Install Sofya MCP in Codex
$ codex mcp add sofya-mcp --url https://mcp.sofya.co/mcpInstall Sofya MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.sofya-mcp] url = "https://mcp.sofya.co/mcp"
Install Sofya MCP in Gemini CLI
$ gemini mcp add -s user --transport http sofya-mcp https://mcp.sofya.co/mcpInstall Sofya MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"sofya-mcp": {
"url": "https://mcp.sofya.co/mcp",
"type": "http"
}
}
}Sofya MCP tools 6
Detected from the READMEsearchfetchextractresearchget_balancebuy_credits
| search | — | |
| fetch | — | |
| extract | — | |
| research | — | |
| get_balance | — | |
| buy_credits | — |
Configuration
SOFYA_API_KEY
| Name | Description | |
|---|---|---|
| SOFYA_API_KEY | — |
Automated checks
Ran Nov 13, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablePass
- Open source license (OSI)Pass
- Commit or release in the last yearPass
- Package name not close to a popular packageNot checked
- Remote endpoint uses HTTPSPass
- Destructive tools are labelledPass
- No hidden instructions to the modelPass
- No critical advisory in the package or its dependenciesNot checked
README
View on GitHubsofya-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
| 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.
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):
{
"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.
Agent skills
Two skills in skills (the same files ship inside the Claude plugin at plugins/sofya/skills) teach an agent when and how to use Sofya: sofya-search (search, fetch, extract) and sofya-research (cited reports). They use the MCP tools when they are connected, and otherwise call the REST API with SOFYA_API_KEY. Install them into Claude Code, Cursor, Codex, Gemini CLI, Copilot and other agents with:
npx skills add sofya-co/sofya-mcp
Claude Code plugin
The plugin bundles the hosted server and both skills:
/plugin marketplace add sofya-co/sofya-mcp
/plugin install sofya@sofya
Codex
The repo root is also a Codex plugin (.codex-plugin/plugin.json) with the hosted server and both skills.
Kiro
This repo is also a Kiro power (plugin.json, mcp.json and skills at the root). In Kiro, open Powers, choose Add Custom Power, then Import power from GitHub and enter https://github.com/sofya-co/sofya-mcp. Kiro opens a Sofya sign-in the first time a tool runs.
Local server
Prerequisites
- Node.js 18+
- A Sofya API key - get one at sofya.co (keys look like
sofya_live_...)
Build
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.
Configuration
Claude Code
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):
{
"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:
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:
[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
| 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.
Development
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).
Privacy and support
The hosted server receives the tool arguments (queries, URLs, prompts) to answer each request and keeps them only in server logs, up to 30 days. Privacy policy · Terms
Support: support@sofya.co or sofya.co/contact.
License
MIT - see LICENSE.
Sofya MCP questions
How do I add Sofya MCP to Claude Code?
Run claude mcp add --transport http sofya-mcp https://mcp.sofya.co/mcp in your terminal. Add --scope user to make it available in every project.
How do I add Sofya MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What tools does Sofya MCP provide?
It exposes 6 tools, including search, fetch, extract, research, get_balance.
What file formats can the fetch tool handle?
The fetch tool can process URLs as clean markdown and also handles various document formats including PDF, DOCX, XLSX, PPTX, and EPUB.
Are there any free options for using Sofya?
Eligible GitHub accounts that are a year or older receive free monthly credits.
How long does the hosted server keep my tool arguments?
The hosted server keeps tool arguments in server logs for up to 30 days.