Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Polish Business Intelligence

БесплатноНе проверен

Provides AI agents with real-time access to Polish official data: VAT whitelist for company verification and NBP exchange rates, enabling checks on VAT status,

GitHubEmbed

Описание

Provides AI agents with real-time access to Polish official data: VAT whitelist for company verification and NBP exchange rates, enabling checks on VAT status, company details, and currency conversion without API keys.

README

Language: English · 🇵🇱 Polski

An MCP (Model Context Protocol) server that gives any AI agent (Claude, Cursor, Copilot) instant, live access to two official Polish data sources: the Ministry of Finance VAT whitelist (Biała Lista) and the National Bank of Poland (NBP) exchange rates. No API keys, no signup, no scraping.

CI Python License


Why this exists

Large language models don't have live access to the Polish VAT registry or to official exchange rates. That data changes daily and sits behind government APIs the model was never trained on. This server closes the gap. Once it's connected, your agent can check whether a Polish company is a registered VAT payer, pull its registered address and bank accounts, and convert money at the official central-bank rate, all in real time.

It wraps two free, public, no-auth APIs:

Source What it provides
Biała Lista (Ministry of Finance VAT whitelist) Look up a company by NIP (tax ID): name, VAT status, address, registration date, bank accounts
NBP (National Bank of Poland) Official PLN exchange rates (kurs średni) for around 40 currencies

Why live data matters AI models confidently produce plausible-looking data, a valid NIP in the right format, that can still be wrong. The only way to be sure is to ask the authoritative source. That's what this server does, on every call.


Tools

Tool What it does Key inputs
lookup_company Full company lookup on the VAT whitelist: name, VAT status, address, registration date, bank accounts nip
check_vat_status Quick yes / no / exempt answer to "is this NIP an active VAT payer?". Handy for "can I trust this invoice?" nip
get_all_rates All current PLN rates from NBP Table A (EUR, USD, GBP, CHF, JPY, CZK, and more) optional date
get_currency_rate Official NBP mid rate for one currency (Table A, falling back to Table B for exotics) currency_code, optional date
convert_currency Convert between PLN and any currency, or cross-rate two currencies through PLN amount, from_currency, to_currency, optional date

Every tool returns clean, human-readable text (never raw JSON), and it never throws. Errors come back as friendly messages the agent can act on.


Quick install

Requires uv and Python 3.11+.

git clone https://github.com/neflingcreations/PBI-MCP.git
cd PBI-MCP
uv sync

Claude Desktop / Claude Code config

Add this to your MCP config (Claude Desktop: claude_desktop_config.json):

{
  "mcpServers": {
    "polish-business": {
      "command": "uv",
      "args": ["run", "polish-business-mcp"],
      "cwd": "/path/to/PBI-MCP"
    }
  }
}

Restart the client and the five tools show up automatically.


Example agent interactions

Once connected, your agent can answer questions it couldn't before:

"Is the company with NIP 951-238-16-07 a registered VAT payer?" → calls check_vat_status("9512381607")YES: BOOKSY INTERNATIONAL SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ (NIP 9512381607) is an ACTIVE VAT payer (status: Czynny).

"Look up NIP 9512381607 and give me their address and bank accounts." → calls lookup_company("9512381607") → returns the company name, VAT status, registered address (UL. PROSTA 67, Warszawa), registration date, and the list of whitelisted bank accounts.

"What's today's EUR/PLN rate from the NBP?" → calls get_currency_rate("EUR")EUR (euro): 4.2531 PLN per 1 EUR. Effective date 2026-06-26. Official NBP mid-market rate.

"Convert 1500 PLN to GBP at the official rate." → calls convert_currency(1500, "PLN", "GBP") → returns the converted amount, the GBP rate used, and the effective date.


API sources

Both are free, public, and need no authentication. The Biała Lista lookup always sends today's date, which the API requires. NBP only publishes rates on banking days, so a weekend request comes back with the most recent rate, and the tool shows the actual effective date it used.


Local development

uv sync                                              # install deps (incl. dev group)
uv run pytest                                        # run tests (HTTP fully mocked, no network)
uv run ruff check .                                  # lint
uv run mcp dev src/polish_business_mcp/server.py     # open the MCP Inspector and call tools by hand
uv run polish-business-mcp                           # run the server over stdio (it waits on stdin, which is normal)

The test suite mocks every HTTP call with respx, so it runs offline and gives the same result every time.


Roadmap

  • lookup_by_regon: the Biała Lista API also accepts REGON (a 9- or 14-digit company ID).
  • lookup_companies_batch: the batch endpoint (/api/search/nips/) checks up to 30 NIPs in one call.
  • Historical VAT-status checks for a given date.

Development

Built with an AI-assisted workflow (Claude Code). The architecture, API integration, and verification decisions were all made and reviewed by hand, and every tool was tested live against the real Polish APIs before release.

License

MIT. See LICENSE.

from github.com/neflingcreations/PBI-MCP

Установить Polish Business Intelligence в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install polish-business-intelligence-mcp

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add polish-business-intelligence-mcp -- uvx --from git+https://github.com/neflingcreations/PBI-MCP polish-business-mcp

FAQ

Polish Business Intelligence MCP бесплатный?

Да, Polish Business Intelligence MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Polish Business Intelligence?

Нет, Polish Business Intelligence работает без API-ключей и переменных окружения.

Polish Business Intelligence — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Polish Business Intelligence в Claude Desktop, Claude Code или Cursor?

Открой Polish Business Intelligence на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Polish Business Intelligence with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai