๐ต๐ฑ Polish Companies MCP Server โ Compabase
Compabase MCP is a Model Context Protocol server that gives AI assistants โ Claude, Cursor, Windsurf, VS Code, and any MCP-compatible client โ direct access to 3 million+ Polish companies from the KRS (National Court Register) and CEIDG registries, plus financials, people, rankings, and public-register enrichments (SUDOP, BZP, TED, URE, BDO, GPW, KRZ, CRBR, MSiG, EU funds).
Ask in plain language. The model maps prompts to structured tools over Streamable HTTP (JSON-RPC 2.0).
Quick Start
You can connect without a key. The agent signs you up and writes mcpk_โฆ into the client config after email confirmation.
Cursor / Windsurf / VS Code โ .cursor/mcp.json (or the equivalent MCP JSON):
{
"mcpServers": {
"compabase": {
"url": "https://compabase.com/api/mcp"
}
}
}
Then ask the agent to sign you up (request_signup with your email). After you click the magic link, poll check_signup until status: ready. Restart the client if it does not hot-reload MCP config.
Claude Desktop โ claude_desktop_config.json (after you have a key):
{
"mcpServers": {
"compabase": {
"url": "https://compabase.com/api/mcp",
"headers": {
"Authorization": "Bearer mcpk_YOUR_KEY_HERE"
}
}
}
}
Claude.ai (Web / Mobile Connectors):
- Go to Settings โ Connectors โ Add Custom Connector
- URL:
https://compabase.com/mcp?apiKey=mcpk_YOUR_KEY_HERE - Authentication:
None (Detected)(key is passed in URL)
Keys can also be created in Integrations โ MCP. MCP keys (mcpk_โฆ) are separate from REST API keys (cb_โฆ).
Example prompts
- Find active IT companies in Warsaw with revenue over 5 million PLN.
- What is the latest revenue and net profit of Allegro?
- List board members of the company with KRS 0000028860.
- How many active companies in mazowieckie have primary PKD starting with 62?
- What is the median revenue in PKD section J?
- Is Orlen listed on GPW? What is the ticker and P/E?
Available tools
Live traffic is always POST https://compabase.com/api/mcp with method: tools/call and params.name set to the tool name. Identify a company with name, krs, or nip when a tool accepts them. Monetary filters default to PLN.
Full schemas: mcp.yaml ยท interactive docs.
Onboarding (no key)
Company data
Register enrichments
Account (skip mcp_queries)
Quota
Data tools (search, financials, enrichments, SQL): each successful tools/call consumes one mcp_queries unit.
Account tools skip mcp_queries. export_companies consumes export_companies instead.
initialize, tools/list, and ping do not consume quota. Limits reset with the billing period.
Protocol
Related
- Compabase REST API โ OpenAPI 3.1 (
v1.yaml) - Interactive API docs
- Interactive MCP docs
- compabase.com
License
MIT
Gemini CLI
gemini extensions install https://github.com/ContentWriterco/Compabase-MCP
On first use Gemini CLI opens the Compabase sign-in page (OAuth). Run /mcp auth compabase if it does not.
Claude Code plugin
This repository is also a Claude Code plugin (MCP server + skill):
/plugin marketplace add ContentWriterco/Compabase-MCP
/plugin install compabase@compabase-plugins
Setup guides
Step-by-step setup guides for Claude, ChatGPT, Gemini, Grok, Le Chat, Perplexity, Cursor, VS Code and Claude Code: https://compabase.com/docs/mcp/connect/
