SuperAPI AI Directory

sofya-mcp

🎖️ 📇 ☁️ - Web tools via the Sofya API: full-content web search, URL and PDF fetching as Markdown, prompt-based data extraction and cited multi-source deep research.

Open website

About this tool

Sofya MCP is a Model Context Protocol (MCP) server provided by Sofya for AI agents, offering web search, web scraping, data extraction, and deep research capabilities.

Purpose It exposes Sofya's Web tools to AI agents through MCP, enabling agents to perform web searches with full content, scrape URLs and PDFs into Markdown, perform prompt-based data extraction, and complete multi-source deep research with citations.

Main capabilities It provides four tools in total, all read-only:

  • Web search
  • Fetch: scrape URLs and PDFs into Markdown
  • Extract: prompt-based data extraction
  • Deep research: multi-source research with citations

Usage Two usage methods are provided:

  1. Hosted version (no installation required): connect the client to https://sofya.co/mcp,并以 Provide the API key in the form of a Bearer token. The server is registered in the MCP registry as co.sofya/sofya. It is suitable for clients such as VS Code / GitHub Copilot. Example: VS Code / GitHub Copilot is configured in .vscode/mcp.json; Cursor is configured in ~/.cursor/mcp.json. After that, the agent can be asked to perform tasks such as "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." The full API documentation is at sofya.co/docs.
  2. Local version (npm): run the sofya-mcp package via stdio. It is a lightweight wrapper around the Sofya REST API, with the same tools as the hosted version. A Sofya API key is required (obtained at sofya.co; the key looks like ay_live_...). It can be run directly with npx, with no installation required. The configuration can be added to an MCP configuration file (such as claude_desktop_config.json or .cursor/mcp.json); it can also be added with the Codex CLI, or by directly editing ~/.codex/config.toml (Codex places environment variables in the nested [mcp_servers.<name>.env] table), and then run /mcp in Codex to confirm that the server is connected.

Environment variables and command line The CLI arguments --api-key and --base-url take precedence over environment variables. You can run npx sofya-mcp --list-tools to print the tool schema, or use --help to view the options. The server is a single-file implementation located at src/index.ts, and its tool definitions are exactly the same as those of Sofya's hosted MCP server (same names, parameters, and default values).

Use cases It is suitable for scenarios that require integrating web search, web/PDF content retrieval, structured data extraction, and multi-source deep research into AI agents, such as retrieving the latest release notes, summarizing PDF documents, and researching regulations and policies.

Limitations All four tools are read-only. Eligible GitHub accounts can receive 2,000 per month free quota. Using the hosted version requires an API key; the local version requires a Node.js environment and a Sofya API key. It is licensed under MIT; see LICENSE for details.