request_signup
Request Compabase Signup
Start Compabase account setup for an email. Sends a magic link. After the user clicks it, poll check_signup with the returned setup_id until status is ready — then you receive an MCP key automatically. Do not ask the user to generate a key in the portal. No auth required.
Parametersemailrequiredclientlocale
check_signup
Check Compabase Signup Status
Poll a request_signup session. When the user has confirmed email, returns mcp_key once and cursor_mcp_json to write to MCP config. Call every 3 seconds until status is ready, expired, or already_delivered. No auth required.
Parametersclientsetup_idrequired
list_plans
List Compabase Subscription Plans
List Compabase billing plans and limits. No auth required. After sign-up, use upgrade_plan to get a Stripe Checkout URL.
Takes no parameters.
search_companies
Search Polish Companies
Search and filter Polish KRS companies (spółki). Compabase also holds the full CEIDG/JDG register; this tool does not browse JDG — those without a public contact email are hidden because of RODO. Default `fields=summary` returns a compact row (name, NIP, KRS, location, PKD, latest financials, email/phone/website) — small enough for MCP clients. `fields=contacts_only` is name/NIP/KRS/city/email/phone/website only. `fields=full` returns every company_search column plus contacts and may exceed client size limits. Use for rankings, sector filters, city/county/region browsing, name search, or NIP/KRS lookup. When a PKD is mostly JDG, a sparse result includes a `hint` (full CEIDG is in the database; listing is RODO-gated). Do not call export_companies just to get a handful of emails or phones.
Parameterskrsnippkdcitynameyearlimitcountyfieldsregionall_pkdsort_by+23 more
get_company
Get Company Profile
Get company registry profile and headline financials for one latest filed period (`financials.period_to` / `financial_period_to`): revenue, profit, costs, assets, estimated_value (Ohlson/RIM equity estimate), PKD, address, plus contacts when on record, full address, share capital, representation, recent KRS changes and `vat` (MF white list: VAT status, VAT registration date, bank accounts, removal/restoration, date Compabase checked it). All money fields in this response are that same period — there is no nested summary from a different year. NIP lookup also returns a CEIDG/JDG firm when it has a public contact email (RODO). Does NOT include balance-sheet line items (cash, receivables, inventories). For those or earlier years, use get_financials.
Parameterskrsnipname
get_financials
Get Full Financial Statements
Get full financial statement metrics per fiscal period — all entity_financial_metrics columns. Includes cash_and_equivalents, inventories, receivables, liabilities, equity, cost breakdown, revenue lines. Identify company by name, KRS, or NIP.
Parameterskrsnipnameyear_toyear_from
get_company_people
Get Company People & Management
Get people associated with a company — management board, supervisory board, shareholders, proxies. Returns display names, role labels, and relationship types (management, supervisory, ownership, procuration). Identify by name, KRS, or NIP.
Parameterskrsnipnamerelationship_type
count_companies
Count Polish Companies
Count KRS companies matching given filters. Returns a single number — no company list. Does not count JDG in this tool (full CEIDG is in Compabase; listing is RODO-gated). Sparse or zero counts in JDG-dominated PKDs include a `hint`.
Parameterskrsnippkdcitynameyearcountyregionall_pkdhas_emailis_activeebitda_max+17 more
execute_sql
Execute Read-Only SQL
Execute a read-only SQL SELECT query against the Compabase database. Use when dedicated tools are not enough (aggregations, joins, custom analysis).
Parametersqueryrequired
get_company_rankings
Get Company Sector Rankings
Get a company's revenue rank positions within its industry (PKD), region (voivodeship), and all of Poland. Returns rows from company_financial_rankings — one row per scope (pkd_full, pkd_division, pkd_section, region, country). Use for questions like: where does company X rank in Poland / its industry / its region?
Parameterskrsnipnamescope_type
get_financial_stats
Get Sector Financial Statistics
Get precomputed aggregate financial statistics for a sector, region, PKD branch, or country. Returns median, p25/p75/p90, winsorized mean, mean, total, n_companies, min/max. Use for questions like: what is the median revenue / average profit / assets in industry X or region Y? Prefer median or winsor_mean over mean. cost_wages is PLN-only.
Parametersmetriccurrencydimension_keydimension_type
get_company_public_aid
Get Public Aid (SUDOP)
Get SUDOP public aid / grants for a company — full case list with amounts, grantor, measure, purpose. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_eu_funds
Get EU Funds Projects
Get European Funds (Fundusze Europejskie) projects for a company — official MFiPR lists, EU co-financing, programme and dates. Keyed by NIP. Identify company by name, KRS, or NIP. Cohesion/shared-management funds; not TED procurement, not FTS Commission grants, and not SUDOP state aid.
Parameterskrsnipname
get_company_procurement
Get EU Grants (FTS)
Get European Commission FTS awards for a company — Horizon, LIFE, Erasmus and other direct/indirect-management grants. Keyed by NIP (VAT). Identify by name, KRS, or NIP. Not cohesion funds (get_company_fe) and not TED procurement.
Parameterskrsnipname
get_company_public_tenders
Get Public Procurement Bulletin (BZP)
Get BZP public procurement data — full awards as contractor and notices as buyer, with award values. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_energy_licenses
Get Energy Regulatory Office Licenses (URE)
Get URE energy concessions for a company — full list of electricity, gas, heat, and liquid fuels, with validity dates and pending applications. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_public_contracts
Get Public Sector Contracts (CRU)
Get contracts from Poland's Central Register of Contracts (CRU JSFP, Ministry of Finance) where the company is the contractor of a public-sector unit (ministries, municipalities, schools, hospitals) — count, total value, top public buyers and the 50 most recent contracts (date, subject, value in PLN, buyer, link). Register live since July 2026; covers contracts below tender thresholds too. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_nfz_contracts
Get National Health Fund Contracts (NFZ)
Get contracts between the company (as a healthcare provider) and Poland's National Health Fund (NFZ) — value of NFZ contracts in the latest year and every year since 2008, types of care (hospital, outpatient, dental, rehabilitation, pharmacy etc.) with NFZ regional branch, and the largest contracts. Amounts are annual contract values in PLN. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_trademarks
Get Trademarks (UPRP)
Get Polish Patent Office (UPRP) trademarks owned or applied for by the company — mark name, application number, Nice classes, status (protected / pending / expired / refused), filing, registration and expiry dates, plus counts. Owners are matched by company name and city (UPRP does not publish NIP). Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_procurement_disputes
Get Procurement Disputes (KIO)
Get National Appeal Chamber (Krajowa Izba Odwoławcza, KIO) rulings in public procurement disputes involving the company — as appellant (with upheld / dismissed / discontinued / rejected counts), as participant or as contracting authority — with case numbers, dates, other party and outcome. Parties are matched by name and city. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_waste_registry
Get Waste Management Registry (BDO)
Get BDO waste and packaging register data — registration number, EUP site count, activity flags, and headquarters decisions with issue and validity dates. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_stock_market
Get Warsaw Stock Exchange Data (GPW)
Get Warsaw Stock Exchange listing for a company — ticker, ISIN, market (GPW main / NewConnect / GlobalConnect), last close and change, market cap, shares outstanding, TTM EPS, TTM P/E (falls back to last annual filing), last quarterly results, next earnings date, dividend per share and yield. Quotes delayed ~15 minutes, in PLN. Snapshot plus a few recent daily bars — not full OHLCV history. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_eu_tenders
Get EU Tenders Daily (TED)
Get TED EU-threshold public procurement — full awards as contractor and notices as buyer. Keyed by NIP. Identify company by name, KRS, or NIP.
Parameterskrsnipname
get_company_court_gazette
Get Court and Commercial Gazette (MSiG)
Get Court and Commercial Gazette (MSiG) notices for one company. Matched by KRS or NIP (creditor calls, dissolution, mergers, liquidation).
Parameterskrsnipname
get_company_sanctions
Get sanctions listing (MSWiA)
Official MSWiA sanctions listing for one company. Returns measures and legal grounds when the company is listed; null when it is not. Matched by KRS, NIP, or REGON. The same payload is included on get_company as sanctions.
Parameterskrsnipname
get_company_debt_registry
Get National Debt Register (KRZ)
Get KRZ insolvency / restructuring proceedings. KRS companies via company_krz; sole proprietors via CEIDG KRZ by NIP.
Parameterskrsnipname
get_company_financial_supervision
Get KNF Financial Supervision Register
KNF register (Polish Financial Supervision Authority): licences and entries of a financial company — banks, payment / e-money institutions, investment firms, insurers, lending institutions, agents. Returns entries with kind, KNF number, status, registration / decision / strike-off dates and services. Keyed by NIP; null when the company has no KNF entry.
Parameterskrsnipname
get_company_secured_liabilities
Get Secured Liabilities (Mortgages, Pledges)
Secured liabilities from the latest financial-statement notes (period ending 2025+): mortgages (hipoteki), registered / financial pledges (zastawy), transfers of ownership, assignments — with creditor, amount, secured debt, asset and land-register (KW) numbers. Keyed by KRS; null when nothing is disclosed.
Parameterskrsnipname
get_company_real_estate
Get Company Real Estate
Company real estate from the latest financial statement (period ending 2025+): land incl. perpetual usufruct, buildings and premises, investment property (book values in PLN/EUR/USD) plus property locations named as mortgage collateral (address, land-register KW numbers, creditor). Keyed by KRS; null when the balance sheet shows no real estate (micro and small entities have no such breakdown).
Parameterskrsnipname
get_company_beneficiaries
Get Ultimate Beneficial Owners (CRBR)
Get CRBR beneficial owners for a KRS company. All names are returned (same as zarząd / wspólnicy). PESEL is never included (birth_year only). JDG are not in CRBR.
Parameterskrsnipname
get_company_articles
Get Articles of Association
Get full text of the company's articles of association or statute (umowa spółki / statut) from RAR (Repozytorium Akt Rejestrowych). Use when the user asks about: share transfer consent, preemption rights, non-compete clauses, company duration, voting rights, special share classes, representation rules from the deed, or any clause in the founding document. Returns doc metadata + full extracted text. KRS companies only.
Parameterskrsnipnamedoc_id
get_usage
Get Account Usage & Quota
Get current billing period usage and remaining quota — mcp_queries, api_requests, export_companies, ask_ai_credits, watchlist_companies. Includes limits and reset date.
Takes no parameters.
get_plan
Get Current Subscription Plan
Get the user's active billing plan details — plan name, price, status, limits, prepaid credit balance, and billing period reset date.
Takes no parameters.
list_watchlist
List Watchlist Companies
List companies on the user's watchlist with company data (name, KRS, NIP, revenue, city). Supports pagination via limit/offset.
Parameterslimitoffset
add_to_watchlist
Add Company to Watchlist
Add a company to the user's watchlist. Identify by KRS (10-digit) or NIP (10-digit). Supports both KRS companies and CEIDG sole proprietorships (via NIP).
Parameterskrsnip
remove_from_watchlist
Remove Company from Watchlist
Remove a company from the user's watchlist. Identify by KRS or NIP.
Parameterskrsnip
list_api_keys
List REST API Keys
List all active REST API keys (cb_…) for the user's account. Returns id, name, key_prefix, created_at, last_used_at.
Takes no parameters.
create_api_key
Create REST API Key
Create a new REST API key (cb_…). The raw key is returned once and cannot be retrieved later.
Parametersnamerequired
delete_api_key
Revoke REST API Key
Revoke (deactivate) a REST API key by its ID. The key stops working immediately.
Parameterskey_idrequired
list_mcp_keys
List MCP Keys
List all active MCP keys (mcpk_…) for the user's account. Returns id, name, key_prefix, created_at, last_used_at.
Takes no parameters.
create_mcp_key
Create MCP Key
Create a new MCP key (mcpk_…). The raw key is returned once and cannot be retrieved later.
Parametersnamerequired
delete_mcp_key
Revoke MCP Key
Revoke (deactivate) an MCP key by its ID. Cannot revoke the key currently in use. The key stops working immediately.
Parameterskey_idrequired
export_companies
Export Companies to CSV
Bulk file export of companies matching filters (CSV / XLSX / JSON). Up to 500 rows per call. Default `fields=contacts_only`: name, NIP, KRS, city, email, phone, website — small enough to use in-chat. `fields=summary` adds location, PKD, latest revenue/profit. `fields=full` is the complete dump (change history, rankings, people, enrichments, CSV twins) and often exceeds MCP client limits. Consumes export quota only after the file is built successfully. For a short list of emails after search_companies, use search with fields=contacts_only instead.
Parameterskrsnippkdcitynamelimitcountyfieldsformatlocaleregionall_pkd+3 more
upgrade_plan
Upgrade Subscription Plan
Create a Stripe Checkout session for a plan upgrade. Shows current plan and available upgrades. Pass plan_id ('pro' or 'scale') to get a checkout_url on checkout.stripe.com — open it in the browser for the user to pay. Do not send the user to the marketing pricing page.
Parameterslocaleplan_idcurrency
set_webhook_url
Configure Webhook URL
Configure, view, or remove webhook for watchlist event notifications. Events: watchlist.company_changed, watchlist.financials_updated, watchlist.company_removed_from_registry.
Parametersurlactionrequiredevents
get_byok_keys
Get Bring-Your-Own-Key Providers
List configured Bring-Your-Own-Key (BYOK) provider keys status. Shows which providers (openai, claude, gemini) have keys configured, with prefix and last-used date. Never returns the actual key.
Takes no parameters.
set_byok_key
Set Bring-Your-Own-Key Provider
Add or update a BYOK provider API key. Key is encrypted at rest (AES-256-GCM). Requires paid plan (Pro+). Providers: openai (sk-…), claude (sk-ant-…), gemini (AIza… or AQ.…).
Parametersapi_keyrequiredproviderrequired
delete_byok_key
Remove Bring-Your-Own-Key Provider
Remove a configured BYOK provider key. After removal, the platform falls back to its own model access.
Parametersproviderrequired
add_watchlist_batch
Batch Add Companies to Watchlist
Add multiple companies to watchlist in one call. Provide an array of KRS/NIP identifiers (max 500). Resolves identifiers to companies, skips duplicates, respects plan limits.
Parametersidentifiersrequired
set_notification_preferences
Set Notification Preferences
Get or update email notification preferences for watchlist changes. When email_notifications=true, you will receive an email whenever a watched company's data changes (registry updates, new financial statements, deregistration, etc.).
Parametersactionrequirednotification_emailemail_notifications