date-firme

Romanian company data (ONRC/ANAF): CUI lookup, KYB risk, financials. Pay per call via x402 USDC.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
100%
Naming quality
83%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~3,223Tokens (tool definitions)
~3.9 KBTypical response size
Significant attention impact (2.52% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "date-firme": {
      "url": "https://date-firme.dev-box.ro/mcp"
    }
  }
}

Remote endpoints

https://date-firme.dev-box.ro/mcpstreamable-http

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search_companies(q)

Use when you only have a company name and need its CUI (cod fiscal) for the other endpoints, or to check that a CUI exists. Search the Romanian trade register (ONRC) by company name (denumire firmă), CUI/CIF (RO prefix optional) or registration number (e.g. J40/123/2020). Returns up to 30 matches (cui, name, county, locality, ONRC status, activa), active companies first. Price: $0.002 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "q": {
      "description": "Company name (min 2 chars, diacritics optional), CUI/CIF with or without RO prefix, or trade-register number (e.g. J40/123/2020).",
      "type": "string"
    }
  },
  "required": [
    "q"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "results": {
      "items": {
        "properties": {
          "activa": {
            "type": "boolean"
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "cui": {
            "format": "int64",
            "type": "integer"
          },
          "locality": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "stare": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "cui",
          "name",
          "activa"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "results"
  ],
  "description": "structuredContent wraps the HTTP JSON array under \"results\"; the text content is the raw HTTP body."
}
🟢company_risk(cui)

Use when onboarding a supplier or customer, extending credit, or before paying an invoice. Get the CUI first with search_companies. KYB risk check for a Romanian company by CUI (tax ID). Returns score 0-100, level low/medium/high and reasons: ONRC insolvency (insolvență), bankruptcy, dissolution, sequestration, criminal case; ANAF/ONRC inactive or deregistered status; latest balance sheet (bilanț: missing, losses, negative equity, falling turnover) and Altman Z'. Price: $0.02 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "cui": {
      "description": "CUI / CIF (Romanian company tax ID, cod fiscal): digits with optional RO prefix, e.g. 2816464 or RO2816464. Get it with search_companies.",
      "type": "string"
    }
  },
  "required": [
    "cui"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "an_bilant": {
      "description": "year of the latest balance sheet used",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "checked": {
      "description": "What was and wasn't checked — absence of a flag only means \"no evidence\" for checked sources.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "cui": {
      "format": "int64",
      "type": "integer"
    },
    "denumire": {
      "type": "string"
    },
    "flags": {
      "items": {
        "properties": {
          "code": {
            "description": "insolventa | sechestru | urmarire_penala | status_critic | firma_noua | fara_bilant | altman_pericol | altman_gri | capitaluri_negative | pierdere | scadere_cifra_afaceri",
            "type": "string"
          },
          "detail": {
            "description": "human-readable reason (Romanian)",
            "type": "string"
          },
          "points": {
            "description": "points added to the score",
            "format": "int32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "code",
          "points",
          "detail"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "level": {
      "description": "low (<25) | medium (25-54) | high (>=55)",
      "type": "string"
    },
    "not_checked": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "score": {
      "description": "0 (safe) .. 100 (critical)",
      "format": "int32",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "cui",
    "denumire",
    "score",
    "level",
    "flags",
    "checked",
    "not_checked"
  ]
}
🟢company_profile(cui)

Use when you need identity and registration details of a known company: invoicing data, VAT status, legal form or who runs it. Romanian company (firmă) profile by CUI/CIF: legal name, address, county, status, registration date and number, legal form (SRL, SA...), main CAEN code, ANAF VAT payer (plătitor TVA) and VAT-on-cash flags, current administrators (ONRC) and Altman Z'. Price: $0.005 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "cui": {
      "description": "CUI / CIF (Romanian company tax ID, cod fiscal): digits with optional RO prefix, e.g. 2816464 or RO2816464. Get it with search_companies.",
      "type": "string"
    }
  },
  "required": [
    "cui"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "administratori": {
      "items": {
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "adresa": {
      "type": [
        "string",
        "null"
      ]
    },
    "altman_z": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "properties": {
            "risc": {
              "type": "string"
            },
            "score": {
              "format": "double",
              "type": "number"
            },
            "zona": {
              "type": "string"
            }
          },
          "required": [
            "score",
            "zona",
            "risc"
          ],
          "type": "object"
        }
      ]
    },
    "cod_caen": {
      "type": [
        "string",
        "null"
      ]
    },
    "cod_postal": {
      "type": [
        "string",
        "null"
      ]
    },
    "cui": {
      "format": "int64",
      "type": "integer"
    },
    "data_inregistrare": {
      "type": [
        "string",
        "null"
      ]
    },
    "denumire": {
      "type": "string"
    },
    "denumire_caen": {
      "type": [
        "string",
        "null"
      ]
    },
    "forma_juridica": {
      "type": [
        "string",
        "null"
      ]
    },
    "judet": {
      "type": [
        "string",
        "null"
      ]
    },
    "localitate": {
      "type": [
        "string",
        "null"
      ]
    },
    "nr_reg_com": {
      "type": [
        "string",
        "null"
      ]
    },
    "platitor_tva": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "stare": {
      "type": [
        "string",
        "null"
      ]
    },
    "tva_la_incasare": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "cui",
    "denumire",
    "administratori"
  ]
}
🟢company_financials(cui)

Use when you need revenue, profit, debt or headcount trends, or a solvency view of a company over several years. Yearly financial statements (bilanț ANAF) of a Romanian company by CUI, newest first, in RON: assets, stocks, receivables, cash, debts, equity, capital, turnover (cifra de afaceri), revenue, expenses, gross/net profit, loss, employees, plus Altman Z' and ratios (liquidity, debt/equity, net margin, ROA, turnover per employee). Empty list if no filings. Price: $0.01 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "cui": {
      "description": "CUI / CIF (Romanian company tax ID, cod fiscal): digits with optional RO prefix, e.g. 2816464 or RO2816464. Get it with search_companies.",
      "type": "string"
    }
  },
  "required": [
    "cui"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "years": {
      "items": {
        "description": "Financial year + computed Altman Z' + ratios (API response).",
        "properties": {
          "active_circulante": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "active_imobilizate": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "altman_z": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "properties": {
                  "risc": {
                    "type": "string"
                  },
                  "score": {
                    "format": "double",
                    "type": "number"
                  },
                  "zona": {
                    "type": "string"
                  }
                },
                "required": [
                  "score",
                  "zona",
                  "risc"
                ],
                "type": "object"
              }
            ]
          },
          "an": {
            "format": "int32",
            "type": "integer"
          },
          "capital_subscris": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "capitaluri": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "casa_conturi": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cheltuieli_totale": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cifra_afaceri": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "creante": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "datorii": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "nr_angajati": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "pierdere_neta": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "profit_brut": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "profit_net": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "ratios": {
            "description": "Derived ratios from a financial year (same formulas as admin UI).",
            "example": {
              "grad_indatorare": 1094.39,
              "lichiditate": 1.09,
              "marja_neta": 3.58,
              "productivitate_angajat": 82489,
              "roa": 5.58,
              "rotatie_creante": 5.83
            },
            "properties": {
              "grad_indatorare": {
                "description": "Datorii / Capitaluri (%). Bun: < 70",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              },
              "lichiditate": {
                "description": "Active circulante / Datorii (x). Bun: ≥ 1.5",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              },
              "marja_neta": {
                "description": "Profit net / Cifră afaceri (%). Bun: > 0",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              },
              "productivitate_angajat": {
                "description": "Cifră afaceri / Nr. angajați (RON)",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              },
              "roa": {
                "description": "Profit net / Total active (%)",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              },
              "rotatie_creante": {
                "description": "Cifră afaceri / Creanțe (x)",
                "format": "double",
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "type": "object"
          },
          "stocuri": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "venituri_totale": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "required": [
          "an",
          "ratios"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "years"
  ],
  "description": "structuredContent wraps the HTTP JSON array under \"years\"; the text content is the raw HTTP body."
}
🟢caen_comparison(code, cui, limit)

Use when you need market leaders or competitors in an industry, or want to place a company against its peers. Ranks active Romanian companies with a given main CAEN code by turnover (cifra de afaceri) from their latest balance sheet, with employees, net profit and year. Returns top N (5-20, default 15), the total with data and, if cui is in the top N, its rank (rang_ref). Price: $0.02 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "code": {
      "description": "CAEN activity code (cod CAEN, 4 digits), e.g. 4752. A company's main CAEN is in company_profile.cod_caen.",
      "type": "string"
    },
    "cui": {
      "description": "Optional CUI to highlight (is_ref) and rank within the list.",
      "type": "string"
    },
    "limit": {
      "description": "Number of companies to return, 5-20 (default 15).",
      "type": "integer"
    }
  },
  "required": [
    "code"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "caen": {
      "type": "string"
    },
    "firme": {
      "items": {
        "properties": {
          "activa": {
            "type": "boolean"
          },
          "an": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "angajati": {
            "format": "int32",
            "type": [
              "integer",
              "null"
            ]
          },
          "ca": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "cui": {
            "format": "int64",
            "type": "integer"
          },
          "denumire": {
            "type": "string"
          },
          "is_ref": {
            "type": "boolean"
          },
          "judet": {
            "type": [
              "string",
              "null"
            ]
          },
          "localitate": {
            "type": [
              "string",
              "null"
            ]
          },
          "profit": {
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "rank": {
            "format": "int32",
            "type": "integer"
          },
          "stare": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "cui",
          "denumire",
          "activa",
          "is_ref",
          "rank"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "rang_ref": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "total": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "firme",
    "total",
    "caen"
  ]
}
🟢admin_companies(name)

Use when you need a person's other business affiliations: related parties, conflicts of interest or due diligence on a director. Lists Romanian companies (up to 200) where a person is currently registered as administrator or representative in ONRC public data. Exact match on the full name, case- and diacritics-insensitive. Returns cui, company name (denumire), county and role (status_label). Price: $0.01 per call via x402 (USDC on Base, no account) or an API key.

Input Schema

{
  "type": "object",
  "properties": {
    "name": {
      "description": "Full name of the person as registered in ONRC (min 3 chars), e.g. POPESCU ION. URL-encode spaces in the HTTP path.",
      "type": "string"
    }
  },
  "required": [
    "name"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Normalized name that was matched (uppercase, no diacritics)",
      "type": "string"
    },
    "results": {
      "description": "Companies (max 200); `status_label` holds the person's role",
      "items": {
        "properties": {
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "cui": {
            "format": "int64",
            "type": "integer"
          },
          "denumire": {
            "type": "string"
          },
          "status_label": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "cui",
          "denumire"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "query",
    "results",
    "total"
  ],
  "description": "Response body of GET /v1/admins/{name}/companies (documentation schema; the handler builds the same JSON)."
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools