Memungkinkan AI agent untuk melakukan pencarian web, mengambil konten dalam format markdown, mengekstrak data spesifik, dan melakukan riset mendalam dengan laporan yang dilengkapi sitasi.
Juga dikenal sebagai sofya-co/sofya-mcp, sofya-mcp
- Stars
- 2
- Tools
- 6
- Unduhan, 30 hari
- —
- Versi terbaru
- 1.32.0
- Commit terakhir
- 11 Nov 2026
- Lisensi
- MIT
Apa itu Sofya MCP?
Sofya adalah MCP server. Memungkinkan AI agent untuk melakukan pencarian web, mengambil konten dalam format markdown, mengekstrak data spesifik, dan melakukan riset mendalam dengan laporan yang dilengkapi sitasi. Server ini menyediakan 6 tool, seperti search, fetch, extract.
Ringkasan dibuat dari README proyek
Tentang Sofya MCP server
Sofya memberikan kemampuan kepada AI agent untuk berinteraksi dengan web melalui tool khusus untuk mencari, mengambil, dan mengekstrak informasi. Developer dapat menggunakan server ini dalam konfigurasi hosted dengan menghubungkan ke remote HTTP endpoint via OAuth atau API key, atau menjalankannya secara lokal menggunakan stdio. Fleksibilitas ini memungkinkan integrasi dengan client seperti Claude, Cursor, VS Code, dan Cline.
Server ini menyertakan tool spesifik seperti search untuk menemukan konten web, fetch untuk mengonversi URL atau file seperti PDF dan DOCX menjadi markdown, serta extract untuk menarik poin data spesifik menggunakan AI. Untuk tugas yang lebih kompleks, tool research akan memecah pertanyaan menjadi sub-query guna membuat laporan yang dilengkapi sitasi. Pengguna mengelola penggunaan mereka melalui sistem kredit, di mana akun GitHub yang berusia lebih dari satu tahun dapat menerima kredit bulanan gratis.
Apa yang bisa Anda lakukan dengannya
- 1Konversi dokumen ke markdownBerikan URL ke PDF atau spreadsheet dan biarkan agent membaca kontennya sebagai teks yang bersih.
- 2Pencarian dengan ringkasan AILakukan pencarian web yang menyertakan jawaban hasil generatif AI di samping hasil pencarian lainnya.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Cara menginstal Sofya MCP
Format diverifikasi 10 Nov 2026Tambahkan ke CursorTambahkan ke GooseInstal Sofya MCP di Claude Code
$ claude mcp add --transport http sofya-mcp https://mcp.sofya.co/mcpInstal Sofya MCP di Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"sofya-mcp": {
"url": "https://mcp.sofya.co/mcp"
}
}
}Instal Sofya MCP di VS Code
.vscode/mcp.json
{
"servers": {
"sofya-mcp": {
"type": "http",
"url": "https://mcp.sofya.co/mcp"
}
}
}Instal Sofya MCP di VS Code CLI
$ code --add-mcp '{"name":"sofya-mcp","type":"http","url":"https://mcp.sofya.co/mcp"}'Instal Sofya MCP di Codex
$ codex mcp add sofya-mcp --url https://mcp.sofya.co/mcpInstal Sofya MCP di Codex config.toml
~/.codex/config.toml
[mcp_servers.sofya-mcp] url = "https://mcp.sofya.co/mcp"
Instal Sofya MCP di Gemini CLI
$ gemini mcp add -s user --transport http sofya-mcp https://mcp.sofya.co/mcpInstal Sofya MCP di Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"sofya-mcp": {
"url": "https://mcp.sofya.co/mcp",
"type": "http"
}
}
}Tool Sofya MCP 6
Terdeteksi dari READMEsearchfetchextractresearchget_balancebuy_credits
| search | — | |
| fetch | — | |
| extract | — | |
| research | — | |
| get_balance | — | |
| buy_credits | — |
Konfigurasi
SOFYA_API_KEY
| Nama | Deskripsi | Tipe |
|---|---|---|
| SOFYA_API_KEY | — |
Pengecekan otomatis
Berjalan 13 Nov 2026Laporan lengkap →Lolos checks otomatis kami. Ini bukan audit keamanan: baca kodenya dan berikan server akses paling terbatas yang dibutuhkannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkauLolos
- Lisensi open source (OSI)Lolos
- Ada commit atau release dalam satu tahun terakhirLolos
- Nama package tidak mirip dengan package populerTidak diperiksa
- Remote endpoint menggunakan HTTPSLolos
- Tools yang bersifat destruktif telah diberi labelLolos
- Tidak ada instruksi tersembunyi untuk modelLolos
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
README
Lihat di 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.
Pertanyaan tentang Sofya MCP
Bagaimana cara menambahkan Sofya MCP ke Claude Code?
Jalankan claude mcp add --transport http sofya-mcp https://mcp.sofya.co/mcp di terminal Anda. Tambahkan --scope user agar tersedia di semua proyek.
Bagaimana cara menambahkan Sofya MCP ke Cursor?
Buka ~/.cursor/mcp.json dan tambahkan server di bawah mcpServers, menggunakan config Cursor yang ditunjukkan di bagian instalasi di atas.
Tool apa yang disediakan Sofya MCP?
Server ini menyediakan 6 tool, termasuk search, fetch, extract, research, get_balance.
Format file apa saja yang bisa ditangani oleh tool fetch?
Tool fetch dapat memproses URL sebagai markdown yang bersih dan juga menangani berbagai format dokumen termasuk PDF, DOCX, XLSX, PPTX, dan EPUB.
Apakah ada opsi gratis untuk menggunakan Sofya?
Akun GitHub yang memenuhi syarat dengan usia satu tahun atau lebih akan mendapatkan kredit bulanan gratis.
Berapa lama hosted server menyimpan argumen tool saya?
Hosted server menyimpan argumen tool di server logs selama maksimal 30 hari.