Developer Builds MCP Server Using Romania's Official 4.2M-Company Open Registry Data
A developer has replaced fragile web-scraping workflows with a self-hosted MCP server built on Romania's official company registry, published as open data by the ONRC on data.gov.ro. The registry covers 4.2 million firms and is refreshed monthly, providing legal status, activity codes, and director information with no login or API key required. The core engineering challenge involved processing large, irregularly formatted CSV files — some nearly 700 MB — using stream-loading into SQLite and joining nomenclator tables to decode status and activity codes. The resulting server exposes three tools that allow an AI agent to search companies by name or tax ID, with results enriched by decoded activity categories and director details. The project demonstrates how official government open-data portals can serve as reliable, legally sound alternatives to third-party directory scraping for B2B lead generation.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in