Skip to main content
Glama

Romanian public data for AI agents: companies (ANAF, ONRC), financials, court cases, KYB risk, validation of extracted company data, e-Factura and legislation in force. Remote MCP server + REST API. Pay per call, 100 free credits.

This repository holds the public docs, client configs and registry metadata. The server is hosted; there is nothing to install or run.

MCP endpoint (Streamable HTTP)

https://api.howtoromania.io/mcp

Auth

Authorization: Bearer <key>

REST / OpenAPI

https://api.howtoromania.io/openapi.json

Demo key

htr_demo (limited daily calls per IP, on a subset of tools; see below)

Services and prices

1 credit = €0.005 at the smallest pack. Credits are charged per successful call. Errors, not-found and source outages (e.g. ANAF unreachable) are not billed. A risk report with some sections unavailable is billed in full. BNR rates tools are free.

Tool

What it returns

Credits

lookup_company

ANAF registry data by CUI/VAT: name, address, status, VAT, e-Factura, BNR EUR/RON rate

1

get_company_financials

Up to 5 years of filed accounts + ratios (RON)

3

get_company_representatives

Trade-register status, CAEN codes, legal representatives (ONRC)

5

get_company_risk_report

KYB in one call: status + financials + court cases + registry, score 0-100 with explained flags (one charge covers all sections)

30

get_company_court_cases

Cases where the company is a party (portal.just.ro), summary + list

15

get_court_case

One case by number: parties, hearings, outcomes, appeals

1

validate_extracted_company_data

Checks company data an AI extracted from an invoice or contract (CUI, name, Reg. Com., VAT and company status, address, IBAN, optional legal representative) against public sources (ANAF, ONRC): verdict per field + confidence (pass / review / reject). Not a KYC/AML check; a valid IBAN does not prove account ownership

2 (+5 with legal representative, +1 with invoice block)

validate_efactura

ANAF's public CIUS-RO validation service + local checks, with rule codes; not billed if ANAF is unreachable

1

generate_efactura

CIUS-RO UBL invoice from simple JSON; parties auto-filled from CUI; validated with ANAF's public validation service; not billed if ANAF is unreachable

2

parse_efactura

UBL Invoice/CreditNote XML → clean English JSON

1

efactura_to_pdf

e-Factura XML to PDF via ANAF's public PDF service

1

search_legislation

Find acts by citation (Legea 31/1990) or title words

1

get_legal_act

Current consolidated text, split by article

1

get_legal_article

One article in force + dated amendment notes

1

get_legal_act_history

Consolidation dates and dated amendments per article

2

get_new_legal_acts

Acts in force since a date (max 35 days)

1

get_bnr_exchange_rate

BNR RON reference rate on a date, or a daily series (bnr.ro)

0 (free, no key)

get_robor

ROBOR fixing on a date, or a daily series

0 (free, no key)

get_ircc

IRCC quarterly/daily values

0 (free, no key)

check_identifier_format

Local checks only: CUI and IBAN checksums, Reg. Com. format, name normalization, invoice arithmetic. Does not check that the company exists. The last digit of new-format Reg. Com. numbers is not verified. Rate-limited per IP

0 (free, no key)

Credit packs

Pack

Price

Per credit

1,000 credits

€5

€0.0050

5,000 credits

€20

€0.0040

30,000 credits

€100

€0.0033

Every new key gets 100 free credits. Out of credits → HTTP 402 with checkout links. Balance: GET /v1/me.

Related MCP server: oblio-mcp

Get a key

curl -X POST https://api.howtoromania.io/v1/keys \
  -H "content-type: application/json" \
  -d '{"email":"you@example.com","accept_terms":true}'
# → {"apiKey":"htr_..."}   (shown once)

No signup needed to try: use the public demo key htr_demo (limited daily calls per IP; lookup_company, get_court_case, validate_efactura, parse_efactura, search_legislation, get_legal_article, get_new_legal_acts).

Connect

Replace htr_demo with your own key. Ready-made files are in examples/.

Cursor

~/.cursor/mcp.json (examples/cursor.json)

{
  "mcpServers": {
    "howtoromania": {
      "url": "https://api.howtoromania.io/mcp",
      "headers": { "Authorization": "Bearer htr_demo" }
    }
  }
}

VS Code

.vscode/mcp.json (examples/vscode.json), prompts for the key:

{
  "inputs": [
    { "type": "promptString", "id": "htr-key", "description": "HowToRomania API key", "password": true }
  ],
  "servers": {
    "howtoromania": {
      "type": "http",
      "url": "https://api.howtoromania.io/mcp",
      "headers": { "Authorization": "Bearer ${input:htr-key}" }
    }
  }
}

Cline

cline_mcp_settings.json (examples/cline.json)

{
  "mcpServers": {
    "howtoromania": {
      "type": "streamableHttp",
      "url": "https://api.howtoromania.io/mcp",
      "headers": { "Authorization": "Bearer htr_demo" },
      "disabled": false
    }
  }
}

Windsurf

~/.codeium/windsurf/mcp_config.json (examples/windsurf.json)

{
  "mcpServers": {
    "howtoromania": {
      "serverUrl": "https://api.howtoromania.io/mcp",
      "headers": { "Authorization": "Bearer htr_demo" }
    }
  }
}

Claude Desktop (and any client without remote-header support)

claude_desktop_config.json, via mcp-remote (needs Node.js 18+) (examples/claude-desktop.json)

{
  "mcpServers": {
    "howtoromania": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://api.howtoromania.io/mcp",
        "--header", "Authorization:Bearer ${HTR_API_KEY}"
      ],
      "env": { "HTR_API_KEY": "htr_demo" }
    }
  }
}

Claude Code

claude mcp add --transport http howtoromania https://api.howtoromania.io/mcp \
  --header "Authorization: Bearer htr_demo"

Agent Plugins / Cursor plugin

This repo is also a plugin following the Open Plugins / Agent Plugins standard: plugin.json + mcp.json (remote server), .mcp.json and .cursor-plugin/plugin.json for Cursor, and a skill in skills/romanian-public-data that tells agents which tool to use. The bundled config uses the demo key; swap in your own key after install.

REST

curl -H "x-api-key: htr_demo" https://api.howtoromania.io/v1/company/14399840

Example prompts

  • "Before we sign with supplier RO14399840, check it's active, VAT-registered, and summarize risk flags." → get_company_risk_report (30)

  • "List the legal representatives of CUI 14399840 and their roles." → get_company_representatives (5)

  • "ANAF rejected this XML. Which rules fail and how do I fix them?" → validate_efactura (1)

  • "What VAT rates apply in Romania today per Codul fiscal art. 291, and when did they last change?" → get_legal_article (1) + get_legal_act_history (2)

Listed on

Data sources

ANAF (company registry, financial statements, e-Factura validator and PDF), BNR (exchange rates), ONRC open data (trade register), portal.just.ro (court cases), legislatie.just.ro (legislation). Court data masks natural persons. Consolidated legal text is informational; only Monitorul Oficial is authentic.

Informational; not legal or credit advice.

License

MIT © 2026 HowToRomania. Covers the contents of this repository (docs, configs, metadata); the hosted service is subject to its own terms.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Slovak business registers (RPO) — AI agents can query 1.4M+ Slovak legal entities via Slovakia's official Statistical Office API. Search companies by name, IČO, or get full entity details including legal form, address, and statutory representatives.
      2
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Unofficial MCP server for Oblio.eu accounting software enabling natural language interaction to create invoices, manage documents, collect payments, query nomenclatures, and submit e-Factura to Romania's SPV system.
      12
      47 npm
      5
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables issuing invoices, proformas, and delivery notices, collecting payments, submitting e-Factura to Romania's SPV, and querying reference data on Oblio.eu through natural language from MCP clients.
      12
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for the Czech business registry ARES, enabling company validation, lookup, and due diligence checks directly from AI clients.
      14
      73 npm
      MIT