Listed from the MCP registry; nobody on Odel publishes it.
Look up Polish businesses in the GUS REGON register (BIR1) by NIP, REGON, or KRS.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx regon-mcp
MCP client config
{
"mcpServers": {
"regon-polish-business-register": {
"command": "uvx",
"args": [
"regon-mcp"
]
}
}
}
An MCP server that gives AI assistants typed access to the Polish REGON business register (GUS BIR1).
Look up any Polish company by NIP, REGON or KRS through six simple tools, with no SOAP code on your side.
A Model Context Protocol server that gives AI assistants clean, typed access to the Polish REGON business register (GUS BIR1). Look up any Polish company by NIP, REGON, or KRS and get back structured data — name, address, legal form, activity codes — without touching the underlying SOAP API.
The official GUS BIR1 API is a WCF SOAP
service with WS-Addressing, MTOM multipart responses, an HTTP-header session
token, and XML-nested-inside-XML result payloads. regon-mcp hides all of that
behind a handful of simple tools.
| Tool | Description |
|---|---|
search_by_nip(nip) | Look up an entity by 10-digit NIP (tax id). |
search_by_regon(regon) | Look up an entity by 9- or 14-digit REGON. |
search_by_krs(krs) | Look up an entity by 10-digit KRS (court register). |
search_bulk(identifiers, id_type) | Look up up to 20 entities of one type at once. |
get_full_report(regon, report_type) | Fetch a detailed report for one entity. |
list_report_types() | List valid report names, with guidance on which to use. |
Every response includes a source block that names the register (REGON / GUS),
the environment, and a UTC retrieved_at timestamp — so downstream use can cite
the data correctly, as GUS requires.
Design notes: the regon-mcp write-up.
No install needed — run it straight from the repo with uv:
uvx --from git+https://github.com/SmartMobileHouse/regon-mcp regon-mcp
From PyPI: uvx regon-mcp.
By default it uses the public test key against the anonymized GUS test
database, so it runs with zero setup. For live data, request a free USER_KEY
from regon_bir@stat.gov.pl and set the environment variables below.
Add to your MCP config (e.g. claude_desktop_config.json or a project
.mcp.json):
{
"mcpServers": {
"regon": {
"command": "uvx",
"args": ["--from", "git+https://github.com/SmartMobileHouse/regon-mcp", "regon-mcp"],
"env": {
"REGON_API_KEY": "your-user-key",
"REGON_ENV": "prod"
}
}
}
}
During development, point it at a local checkout instead:
{
"mcpServers": {
"regon": {
"command": "uvx",
"args": ["--from", "/absolute/path/to/regon-mcp", "regon-mcp"],
"env": { "REGON_API_KEY": "abcde12345abcde12345" }
}
}
}
source block with the register, environment and UTC retrieval time in every responseUSER_KEY| Variable | Default | Description |
|---|---|---|
REGON_API_KEY | public test key | Your GUS BIR USER_KEY. |
REGON_ENV | test | test (anonymized data) or prod (live data). |
REGON_TIMEOUT | 30 | HTTP timeout in seconds. |
Use REGON_ENV=prod only with a real USER_KEY; the test key works only
against the test environment.
git clone https://github.com/SmartMobileHouse/regon-mcp
cd regon-mcp
uv sync # create the venv and install deps
uv run pytest # offline tests: validation, parsing, mocked client,
# and an in-memory MCP tool-discovery smoke test.
# (network tests are deselected by default)
uv run regon-mcp # run the server over stdio
# Live tests against the GUS endpoint (deselected unless opted in):
REGON_RUN_NETWORK=1 uv run pytest -m network # session lifecycle (test env)
REGON_PROD_KEY=<your-key> uv run pytest -m network # positive-control on live data
The client is a small hand-rolled SOAP layer over httpx (see
src/regon_mcp/client.py) — no heavyweight SOAP stack, no runtime WSDL fetch.
USER_KEY with REGON_ENV=prod.source block).Issues and pull requests are welcome.
The GUS BIR1 API is a WCF SOAP service with WS-Addressing, MTOM multipart responses, an HTTP-header session token and XML nested inside XML result payloads.
httpx, with no heavyweight SOAP stack and no runtime WSDL fetch.MIT © Smart Mobile House. Built and maintained by Smart Mobile House.