Purpose: leadgen-mcp lets AI assistants or MCP clients directly query official Romanian business data, covering business registration, tax status and financial statements, suitable for lead generation, business due diligence, customer verification and similar scenarios.
Main capabilities: data sources include approximately 4.2 million companies from ONRC, the ANAF tax layer (VAT, e-Factura, tax inactive, phone) and financial statements from the Ministry of Finance for 2008–2025, with financial ratios and peer benchmarks. The hosted server provides 21 tools; every answer involving a company carries an asOf field (register snapshot, fiscal year, ANAF load date) for easy citation.
Usage: the hosted endpoint is https://leadgen-mcp.adrianhomelab.com/mcp(Streamable HTTP). 30 queries per day without a key; from https://leadgen-api.adrianhomelab.com/en/start after obtaining a free key, 50 queries per day, sent via Authorization: Bearer <key> or X-API-Key. Claude (claude.ai and Claude Desktop) can add the above URL in Customize → Connectors → Add custom connector without logging in; if the plan supports custom request headers, an Authorization header can be added. Cursor is configured in ~/.cursor/mcp.json or .cursor/mcp.json, VS Code in .vscode/mcp.json. The get_usage tool shows the remaining quota.
Local run: the repository provides an open-source (MIT) local MCP server leadgen-mcp with the same 21 tools, stores no data, and each tool call goes to the Leadgen public REST API (https://leadgen-api.adrianhomelab.com/en/docs),因此回答、限额和密钥与托管服务器一致。工具名称、描述和 schema is a snapshot of the hosted server's tools/list (leadgen_mcp/tools.json, refreshed via scripts/sync_tools.py). The PyPI package name is leadgen-mcp and requires Python 3.10 or higher; uvx --from git+ can also be usedhttps://github.com/darksider4all/leadgen-mcp Run leadgen-mcp from the latest commit on main, or build and run with Docker. Claude Desktop configuration is in claude_desktop_config.json; when LEADGEN_API_KEY is not set, it uses the REST API for 5 anonymous queries per day. The REST API anonymous quota (5 per day, counted by entry point and IP) is lower than the MCP endpoint (30 per day); a free key allows 50 per day. Rejections (no key, daily limit reached, key suspended) are returned as tool errors, preserving the server message and free-key link; daily limits state the reset time (midnight 00:00 Romania time, Europe/Bucharest). The key is sent via the X-API-Key header only when set. The Watches feature requires a key.
Development and testing: pip install -e ".[test]" && pytest (no network); LEADGEN_LIVE=1 pytest tests/test_live.py performs one real anonymous query; LEADGEN_DRIFT=1 pytest tests/test_drift.py compares tools.json with the online server card; python scripts/check_public.py checks whether private content has been committed.
Data and attribution: the registry and financial statements come from ONRC and the Ministry of Finance (via data.gov.ro, CC BY 4.0 license); tax data comes from ANAF. When publishing data obtained through Leadgen, attribute as follows: “Sursa: ONRC și Ministerul Finanțelor (data.gov.ro, CC BY 4.0) și ANAF, prin Leadgen”.
Limitations: the hosted server source code is not public; the repository contains only the public description and the open-source local client. Pricing information is at https://leadgen-checkout.adrianhomelab.com/,具体收费细节暂未提供。