{"slug": "romanian-company-registry-as-an-mcp-server-and-rest-api", "title": "Romanian company registry as an MCP server and REST API", "summary": "A new service called Leadgen (leadgen.adrianhomelab.com) offers free, read-only JSON access to Romania's official business registry via a REST API and an MCP server usable in Claude and Cursor, drawing on ONRC and Ministry of Finance data (data.gov.ro, CC BY 4.0) plus an ANAF fiscal layer. The dataset covers 4,224,674 companies, 19.75 million CAEN activity records, 3.69 million legal representatives, 4.67 million company statuses, 13.51 million financial statement filings from 2008–2025, and ANAF VAT, main-activity and phone data for 2.04 million companies, with registry version firme-19-10-2026 published 20 October 2026. An email address gets a free API key allowing 50 lookups a day, and the browser tool lets users filter by activity, county, revenue, headcount and VAT and export CSV lists for Excel.", "body_md": "Pick the activity and the county, see how many companies there are, and download the list with each company's address, website, the phone it declared to ANAF, its revenue and headcount, in a file that opens in Excel.\n\nElectrical installation (CAEN 4321) · Cluj\n\n**About 730 active companies** match. The first 5, biggest revenue first:match. The first 3:\n\n| Company | City | Phone (ANAF) | Revenue | \n|---|---|---|---|\n| ELECTROGRUP SA | Cluj-Napoca | `0264415120` | over 10M RON | \n| GREENCELLS CEE S.R.L. | Cluj-Napoca | `—` | over 10M RON | \n| GENERAL SECURITY SRL | Cluj-Napoca | `0264439200` | over 10M RON | \n| INVEST SERVICII COMERCIALE SRL | Dej | `0722751687` | over 10M RON | \n| ELCONET SRL | Cluj-Napoca | `0264433436` | over 10M RON | \n\nFree with your email. The list opens in the app with these filters set.\n\nSource: ONRC and Ministry of Finance (data.gov.ro, CC BY 4.0; financial statements 2008–2010 under OGL-ROU-1.0) and ANAF, via Leadgen (leadgen.adrianhomelab.com)\n\nPrivate security (CAEN 8010) · Bucharest\n\n**544 active companies** match. The first 5, biggest revenue first:match. The first 3:\n\n| Company | City | Phone (ANAF) | Revenue | \n|---|---|---|---|\n| CIT ONE S.A. | Bucureşti Sectorul 6 | `0372262191` | over 10M RON | \n| BRINK'S CASH SOLUTIONS (RO) S.R.L. | Bucureşti Sectorul 2 | `—` | over 10M RON | \n| ROMANIAN SECURITY SYSTEMS SRL | Bucureşti Sectorul 2 | `0724572564` | over 10M RON | \n| TETRA SISTEMS GUARD SRL | Bucureşti Sectorul 2 | `0730147143` | over 10M RON | \n| SECURITAS SERVICES ROMANIA SRL | Bucureşti Sectorul 1 | `0212321135` | over 10M RON | \n\nRestaurants (CAEN 5610) · Brașov\n\n**About 710 active companies** match. The first 5, biggest revenue first:match. The first 3:\n\n| Company | City | Phone (ANAF) | Revenue | \n|---|---|---|---|\n| CARTOFISSERIE S.A. | Braşov | `0268254082` | over 10M RON | \n| ALTIUS SRL | Braşov | `0268414458` | over 10M RON | \n| OLIN FOODS SRL | Braşov | `0268/476044` | over 10M RON | \n| CARMEN'S ARTISANAL FOODS S.R.L. | Victoria | `0268247111` | over 10M RON | \n| GURMAND PLĂMĂDEALĂ SRL | Tărlungeni | `—` | over 10M RON | \n\n**Company lists in the browser.** Pick an activity and a county, filter by revenue, headcount and VAT, and download the list for Excel (CSV). No code.\n\nYou sign in with your email: no password, no card.\n\n**Free API key.** 50 lookups a day for an email address, no payment, over REST or the MCP server in Claude and Cursor.\n\n[Company lists by activity and county (ONRC registry) →](https://leadgen.adrianhomelab.com/en/companies)\n\n| Dataset | Records | \n|---|---|\n| Companies | 4,224,674 | \n| CAEN activity records | 19.75M | \n| Legal representatives | 3.69M | \n| Company statuses | 4.67M | \n| Financial statements (Ministry of Finance) | 2008–2025 · 13.51M filings | \n| ANAF fiscal layer (VAT, main activity, phone) | 2.04M companies | \n| Registry version | `firme-19-10-2026` (published 20 October 2026, 9 days old) | \n\nFree, read-only JSON access to Romania's official business registry: every registered company, its CAEN activities, legal representatives and status, 18 years of financial statements (2008–2025) with ratios and peer benchmarks, plus VAT status and main activity from ANAF.\n\n[Examples: company data by CUI, ONRC and ANAF checks, export by CAEN code →](https://leadgen.adrianhomelab.com/en/company-data-api)\n\nEvery endpoint, with examples and the parameters: [API docs](https://leadgen.adrianhomelab.com/en/docs).\n\n| Endpoint | Description | \n|---|---|\n| `GET /lookup_business?query=<name\\|CUI>&max_results=N` | Search companies by name or tax code (CUI). | \n| `GET /lookup_director?name=<name>&max_results=N` | Find companies by director / legal-representative name. | \n| `GET /lookup_by_category?category=<topic\\|CAEN code>&county=X&max_results=N` | Lead lists by what a company does: a curated topic ( *artificial intelligence* ,*cybersecurity* ,*software* , …) or a raw CAEN activity code / comma-separated code list (`6201` ,`6201,6210` ), optionally narrowed to one county. Newest registrations first. | \n| `GET /lookup_by_category?…&min_revenue=&min_employees=&vat_payer=true&main_activity_only=true&format=csv` | Narrow the list: revenue and headcount bands from the latest filing, VAT payers (ANAF), main activity only; `format=csv` downloads it as a spreadsheet. | \n| `GET /financials/<CUI>` | Every filed year since 2008: revenue, profit, headcount, balance-sheet lines and ratios per year, growth and CAGR. | \n| `GET /financials/<CUI>/ratios` | Margins, solvency, liquidity, a 0–100 health score with its parts, red flags, and percentiles against companies with the same activity and county. | \n| `GET /topics` | The curated topics and the CAEN code sets behind them. | \n| `GET /docs` | Interactive OpenAPI docs (Swagger UI). | \n| `GET /health` | Liveness check. | \n\n**Free during launch.** Every endpoint and filter is free today, within the daily limit. When the paid plans go live, the full 2008–2025 financial history, ratios, health score and peer percentiles, the revenue / headcount / VAT filters, CSV export and lists longer than 25 rows move to Pro (€9/month, 500 lookups a day); Business (€29/month) gives 5,000 lookups a day. Free keeps the company profile, status and risk, ANAF data, the latest year's figures and lists of up to 25 rows. [See all plans](https://leadgen-checkout.adrianhomelab.com/en).\n\nNo key needed for a few lookups a day. A free key gives you 50 a day: get it in\nten seconds at [/start](https://leadgen.adrianhomelab.com/en/start) and send it as an `X-API-Key` header.\n\n```\n# search by company name\ncurl \"https://leadgen.adrianhomelab.com/lookup_business?query=DEDEMAN&max_results=3\"\n\n# search by CUI (tax code)\ncurl \"https://leadgen.adrianhomelab.com/lookup_business?query=2816464\"\n\n# find companies by director name\ncurl \"https://leadgen.adrianhomelab.com/lookup_director?name=popescu\"\n\n# lead list by CAEN activity code (software), narrowed to one county\ncurl \"https://leadgen.adrianhomelab.com/lookup_by_category?category=6201&county=Hunedoara&max_results=25\"\n\n# the curated topics (AI, cybersecurity, retail, …) and their CAEN codes\ncurl \"https://leadgen.adrianhomelab.com/topics\"\n```\n\n`lookup_business?query=2816464`\n\n```\n{\n  \"query\": \"2816464\",\n  \"total\": 1,\n  \"returned\": 1,\n  \"results\": [\n    {\n      \"companyName\": \"DEDEMAN SRL\",\n      \"cui\": \"2816464\",\n      \"registrationCode\": \"J1992002621040\",\n      \"legalForm\": \"SRL\",\n      \"county\": \"Bacău\",\n      \"website\": \"www.dedeman.ro\",\n      \"phone\": \"0234513330\",\n      \"caenActivities\": [ { \"code\": \"4752\", \"activity\": \"Comerț cu amănuntul al articolelor de fierărie, …\", \"main\": true } ],\n      \"directors\": [ \"PAVĂL I. DRAGOŞ\", \"PAVĂL ADRIAN\" ],\n      \"status\": [ { \"code\": \"1048\", \"name\": \"funcțiune\" } ],\n      \"anaf\": { \"mainCaen\": \"4752\", \"vatPayer\": true, \"eFactura\": true, \"inactive\": false },\n      \"latestFinancials\": { \"year\": 2025, \"revenue\": 13157835535, \"netResult\": 1635337205, \"employees\": 12702 },\n      \"risk\": { \"level\": \"ok\", \"label\": \"no distress signals\", \"reasons\": [] }\n    }\n  ]\n}\n```\n\nAsk by activity instead of by name — `4321` is *Lucrări de instalații electrice* —\nthen narrow the list: `legal_form=SRL`, a revenue band from the latest filing, VAT payers only, and\n`main_activity_only=true` to keep companies that declare the code as their main activity rather than one of\ndozens of authorised ones. `active_only` is on by default and drops struck-off, insolvent, dissolving\nand suspended companies, and those ANAF declares fiscally inactive. Add `format=csv` for a spreadsheet.\n\n```\nGET /lookup_by_category?category=4321&county=Cluj&legal_form=SRL&min_revenue=1000000&vat_payer=true&max_results=1\n\n{\n  \"caenCodes\": [ \"4321\" ],\n  \"county\": \"Cluj\",\n  \"filters\": { \"legalForm\": \"SRL\", \"activeOnly\": true, \"minRevenue\": 1000000, \"vatPayer\": true, … },\n  \"total\": 1,\n  \"returned\": 1,\n  \"results\": [\n    {\n      \"companyName\": \"…\",\n      \"cui\": \"…\",\n      \"county\": \"Cluj\",\n      \"phone\": \"…\",\n      \"caenActivities\": [ { \"code\": \"4321\", \"activity\": \"Lucrări de instalații electrice\", \"main\": true } ],\n      \"anaf\": { \"mainCaen\": \"4321\", \"vatPayer\": true, \"eFactura\": true, \"inactive\": false },\n      \"latestFinancials\": { \"year\": 2025, \"revenue\": 2350000, \"employees\": 14 },\n      \"risk\": { \"level\": \"ok\", \"reasons\": [] }\n    }\n  ]\n}\n```\n\n**Contacts:** results carry the phone the company declared to ANAF, if it declared one.\nThe registry has no email; for companies with a website on file (`has_website=true`), the MCP tool\n`enrich_company` reads the company's own site for the contacts it publishes.\n\nThe registry data comes only from the official ONRC dataset on [data.gov.ro](https://data.gov.ro), the Ministry of Finance filings and ANAF's public web service, loaded as published and indexed for fast, diacritic-insensitive search. One exception: when you ask for a company's contacts, we read that company's own public website.\n\nThere's also a full MCP server (business lookup, contact extraction, domain/WHOIS audit) at `https://leadgen-mcp.adrianhomelab.com/mcp`. Install it with one command, via Smithery:\n\n```\nnpx @smithery/cli install @oaida-adrian-3qb2/leadgen-mcp\n```\n\nOr add it directly: `https://leadgen-mcp.adrianhomelab.com/mcp` · listed on [Smithery](https://smithery.ai/servers/oaida-adrian-3qb2/leadgen-mcp) · [Apify actor](https://apify.com/darknezz/ro-business-data-mcp) for no-code access.\n\nIn the Leadgen app: pick what the companies do (a field or a CAEN code) and the county, see how many active companies there are, narrow by revenue, headcount and VAT, and download the list as a CSV that opens in Excel, with the phone each company declared to ANAF, its revenue and headcount from the latest filing. Sign in with your email address; no card.\n\nYes. Leadgen is a free, read-only JSON API over Romania's official ONRC registry, built from the open-data snapshot on data.gov.ro. You get 5 lookups a day without a key and 50 a day with a free key issued for an email address.\n\nCall GET /lookup_business?query=<CUI or name>. An all-digit query matches the CUI (tax code); a name query is diacritic-insensitive full-text search, so 'paval' finds 'PAVĂL'. The response carries the registration code, legal form, address, CAEN activities, directors and status.\n\nYes. GET /lookup_by_category?category=6201&county=Cluj returns the companies on that CAEN activity code — one code, a comma-separated list, or a curated topic such as 'software' — newest registrations first, with filters for legal form, active status, website on file, revenue and headcount bands, VAT payers and main activity; add format=csv for a spreadsheet.\n\nFrom the dataset the Romanian Trade Register (ONRC) publishes on data.gov.ro, loaded as published. The registry version and its publication date are shown in the table above and on /health. Registry data is never scraped and never bought from a third-party vendor; the only website we read is the company's own, when you ask for its contacts.\n\nYes: 18 fiscal years, 2008 to 2025, from Ministry of Finance filings. GET /financials/<CUI> (or the MCP tool lookup_financials) returns revenue, profit, headcount and balance-sheet lines for every year with ratios and growth; /financials/<CUI>/ratios adds a 0–100 health score with its parts and percentiles against peers in the same activity and county.\n\nPhone numbers, often: each result carries the phone the company declared to ANAF, if it declared one. Emails are not in any official register; for the companies with a website on file (has_website=true), the MCP tools enrich_company and extract_contacts read the company's own site for the contacts it publishes.\n\nYes. Add https://leadgen-mcp.adrianhomelab.com/mcp as a Streamable HTTP server, with one command via Smithery or a JSON entry in your client's config. Same data; without a key the MCP server gives 30 lookups a day, with a key the limits are the same, and the key goes in the Authorization header.\n\nWithout a key, 5 lookups a day for each IP address on the API and 30 on the MCP server; 50 a day with a free key, reset at 00:00 UTC (02:00 or 03:00 in Romania). For bulk or higher daily volume write to [contact@adrianhomelab.com](mailto:contact@adrianhomelab.com); the free tier is not meant for re-publishing the dataset.\n\nA few emails a year about new data and features, only if you ask.", "url": "https://wpnews.pro/news/romanian-company-registry-as-an-mcp-server-and-rest-api", "canonical_source": "https://leadgen.adrianhomelab.com/en", "published_at": "2026-10-29 12:03:22+00:00", "updated_at": "2026-10-29 12:18:53.381463+00:00", "lang": "en", "topics": ["agent-protocols", "ai-tools", "developer-tools"], "entities": ["Leadgen", "ONRC", "Ministry of Finance", "ANAF", "Claude", "Cursor", "data.gov.ro"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/romanian-company-registry-as-an-mcp-server-and-rest-api", "markdown": "https://wpnews.pro/news/romanian-company-registry-as-an-mcp-server-and-rest-api.md", "text": "https://wpnews.pro/news/romanian-company-registry-as-an-mcp-server-and-rest-api.txt", "jsonld": "https://wpnews.pro/news/romanian-company-registry-as-an-mcp-server-and-rest-api.jsonld"}}