# sofya-co/sofya-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/sofya-co/sofya-mcp  
**GitHub Stars:** 2  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sofya-co-sofya-mcp

## Description
Web tools for AI agents through the Sofya API. Search the web for full page content instead of snippets, fetch URLs as clean markdown (including PDFs), extract structured data from a page with a prompt, and run multi-source deep research that returns a cited report.

## Tools
Capabilities this server exposes over MCP:

- **search** — Search the web and get extracted page content (not just snippets). Supports `news` topic, domain filters, freshness, and an optional AI-synthesized `answer`.
- **fetch** — Fetch up to 10 URLs as clean markdown. Also handles PDF, DOCX, XLSX, PPTX, EPUB, and more.
- **extract** — Fetch a page and pull specific information from it using AI.
- **research** — Decompose a question into sub-queries, read many sources in parallel, and synthesize a cited report.
- **get_balance** — Show the account's remaining credits. Hosted server only.
- **buy_credits** — Return a payment link for a credit top-up. It does not charge anything. Hosted server only.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "sofya-mcp": {
    "url": "https://mcp.sofya.co/mcp"
  }
}
```

## Documentation

## What sofya-co/sofya-mcp does

sofya-co/sofya-mcp exposes Sofya’s web data and research functions through the Model Context Protocol. It is designed for agents that need more than search-result snippets: `search` returns extracted content from matching pages, `fetch` converts URLs and supported documents into clean Markdown, `extract` answers a targeted information request about a page, and `research` produces a cited report from multiple sources.

The server supports both hosted and local use. The hosted deployment is available at `https://mcp.sofya.co/mcp` over streamable HTTP. A local build runs over stdio and acts as a thin MCP wrapper around the Sofya REST API.

## How it works

`search` accepts web queries and can narrow results by topic, including news, domain, and freshness. It can also request an AI-generated answer in addition to retrieved content. `fetch` accepts up to 10 URLs in one call and handles web pages plus formats such as PDF, DOCX, XLSX, PPTX, and EPUB. `extract` fetches a page and uses AI to pull information specified by the caller.

For broader questions, `research` breaks the request into sub-queries, reads many sources in parallel, and combines them into a report with citations. Search, fetch, extract, research, and balance lookups are read-only operations. Hosted deployments also provide `get_balance` for remaining credits and `buy_credits`, which returns a payment link without charging the account directly.

Tool usage consumes credits according to the operation: search uses 1–2 credits, with an additional charge when an answer is included; fetch costs 1 credit per URL; extract costs 10 credits; and research costs 50 credits. Balance and credit-link operations are free.

## Setup and configuration

The hosted endpoint can be configured in clients that support streamable HTTP. OAuth-capable clients can sign in through the endpoint, while API-key use requires a Bearer token with a Sofya key. Claude Code can also install the repository’s plugin, which bundles the hosted server and Sofya skills.

For local use, install Node.js 18 or newer, clone the repository, and run `npm install`. The command builds the server into `build/index.js`. Start it with `SOFYA_API_KEY` set, then register that Node command as an stdio MCP server in the client. The optional `SOFYA_BASE_URL` variable changes the API base URL; command-line `--api-key` and `--base-url` options take precedence over environment variables.

The repository also includes agent skills for search, fetching, extraction, and research. They can be installed with `npx skills add sofya-co/sofya-mcp`, and a Kiro power is included for import from GitHub.

## Tools and capabilities

- Search the web with extracted page content instead of snippets.
- Filter searches by news topic, domain, and freshness.
- Request an AI-synthesized search answer.
- Fetch up to 10 URLs as Markdown in one call.
- Convert PDFs, office documents, EPUB files, and other supported formats.
- Extract prompted information from a page.
- Generate multi-source research reports with citations.
- Check hosted-account credits or obtain a top-up payment link.

## Limitations and notes

The hosted-only `get_balance` and `buy_credits` tools are unavailable in the local server. Local operation requires a Sofya API key, while hosted OAuth access depends on client support for OAuth. Hosted requests include queries, URLs, and prompts in server logs retained for up to 30 days. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/sofya-co-sofya-mcp/readme_

