Skip to main content
Glama
mcp-entreprises-fr

mcp-entreprises-fr

French Companies Verification API & MCP Server (x402 Protocol)

Production-ready commercial Micro-API and Model Context Protocol (MCP) server that allows AI agents and clients (Claude Desktop, Cursor, Antigravity, Claude Code) to verify and certify French companies in real time using official French Government data (recherche-entreprises.api.gouv.fr), monetized via the x402 HTTP payment standard (USDC on Base network).


🚀 Key Capabilities

  • MCP Tool for AI Agents: Exposes the verify_french_company tool, compatible with any MCP client (Claude Desktop, Cursor, Antigravity).

  • Native x402 Micro-payments: Automated 0.15 USDC payment handling on Base (via EVM_PRIVATE_KEY or X-PAYMENT header) or human/agent-readable 402 payment instructions.

  • Official Government Data: Direct integration with French National Registry (INSEE / SIRENE / RNE).

  • Automated Intra-Community VAT: Computes the official French VAT number (FR + key + SIREN).

  • Complete Business Identity: Returns company status (Active/Closed), headquarters SIRET, legal name, creation date, main activity (NAF/APE code), address, and corporate officers.


Related MCP server: eu-verify

⚡ Quickstart: Add MCP Server in 10 Seconds

You can connect this MCP tool to Claude Desktop, Cursor, or Antigravity in seconds.

1. Claude Desktop Setup

Open your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the following configuration block under mcpServers:

{
  "mcpServers": {
    "entreprises-fr": {
      "command": "node",
      "args": [
        "c:/Users/innoc/Desktop/api-entreprises-fr/mcp-server.js"
      ],
      "env": {
        "API_BASE_URL": "https://api-entreprises-fr.onrender.com",
        "EVM_PRIVATE_KEY": "0x_YOUR_BASE_WALLET_PRIVATE_KEY_HERE"
      }
    }
  }
}

Note: If EVM_PRIVATE_KEY is omitted, the MCP tool will still execute and return clear machine-readable x402 payment instructions (recipient address, 0.15 USDC amount on Base) directly in the chat.


2. Cursor Setup

Add the configuration into .cursor/mcp.json in your project or in Cursor Settings > Features > MCP:

{
  "mcpServers": {
    "entreprises-fr": {
      "command": "node",
      "args": [
        "c:/Users/innoc/Desktop/api-entreprises-fr/mcp-server.js"
      ],
      "env": {
        "API_BASE_URL": "https://api-entreprises-fr.onrender.com",
        "EVM_PRIVATE_KEY": "0x_YOUR_BASE_WALLET_PRIVATE_KEY_HERE"
      }
    }
  }
}

đŸ› ïž MCP Tool Reference

verify_french_company

Verifies the legal existence and details of a French company.

Input Parameters

Parameter

Type

Required

Description

query

string

Yes

Company name or 9-digit SIREN number (e.g., "552032534" or "Danone").

Output Example (Payment Verified)

{
  "nom_complet": "DANONE",
  "siren": "552032534",
  "siret_siege": "55203253400703",
  "statut": "Actif",
  "date_creation": "1955-01-01",
  "activite_principale": "70.10Z",
  "adresse": "59-61 RUE LA FAYETTE 75009 PARIS",
  "dirigeants": [
    {
      "type": "personne physique",
      "nom": "BERNARD DE SAINT AFFRIQUE",
      "prenoms": "ANTOINE",
      "qualite": "Directeur Général",
      "annee_de_naissance": "1964"
    }
  ],
  "numero_tva_intracommunautaire": "FR27552032534"
}

Output Example (When Unpaid)

{
  "status": "PAYMENT_REQUIRED",
  "http_code": 402,
  "protocol": "x402",
  "message": "Paiement requis pour accéder aux données certifiées de cette entreprise.",
  "payment_requirements": {
    "price": "0.15 USDC",
    "max_amount_atomic": "150000",
    "network": "base",
    "pay_to_address": "0xB1b0f5a198D1a8344d32172f29D73fa3FaA74B4c",
    "usdc_contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "scheme": "exact"
  }
}

🌐 HTTP REST Endpoints

1. GET / — Service Metadata (Free)

Returns general API information, pricing, Base network configuration, and usage examples.

2. GET /api/company?q=SIREN_OR_NAME — Company Verification (0.15 USDC)

  • Live Endpoint: https://api-entreprises-fr.onrender.com/api/company?q=552032534

  • Requires standard x402 payment header X-PAYMENT.

  • Returns HTTP 402 with EIP-712 payment challenge when unpaid.


đŸ’» Local Development & Testing

Install Dependencies

npm install

Run Tests

npm test

Start Local Express Server

npm start

Start MCP Server via Stdio

npm run mcp

Available Tools

1 tool
verify_french_companyA

VĂ©rifie et certifie l'existence lĂ©gale d'une entreprise française (SIREN, SIRET du siĂšge, statut Actif/FermĂ©, TVA intracommunautaire, adresse officielle et dirigeants) via les donnĂ©es de l'État français. L'accĂšs nĂ©cessite 0.15 USDC sur le rĂ©seau Base via le protocole x402.

Inputs: query (required).

Tool Schema Changelog

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

Loading tool schema changelog


    TDQS

    A4.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no risk of confusing it with another operation. Its purpose is clearly scoped to verifying French company identity and legal status.

    Naming Consistency5/5

    The single tool name verify_french_company is clear, descriptive, and follows a predictable verb-object pattern. With only one tool, there is no inconsistency to assess.

    Tool Count3/5

    A single tool is thin for a company-data server, even if that tool bundles several checks. Useful adjacent capabilities such as lookup by company name or batch verification would make the surface feel more complete.

    Completeness4/5

    The tool covers core verification fields: SIREN, SIRET, active status, VAT, address, and directors. Minor gaps remain around name-based search, batch lookup, and related legal documents, but the main verification use case is addressed.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server to query the INSEE SIRENE API and search for French companies, supporting searches by SIREN, SIRET, and advanced filters like name, location, and activity.
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      eu-verify lets AI agents verify any European business partner: company existence (official French SIREN registry), insolvency records (BODACC), EU VAT validation before invoicing (VIES), SIRET/IBAN/LEI checks, address and email verification, French business-day deadlines and EU public tenders. 10 paid MCP tools + a free catalog tool, plus 81 HTTP endpoints. Each call costs $0.001-$0.01 in USDC on
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing 10 pay-per-call APIs for web scraping, DNS, email validation, and French business data, with autonomous micropayments via the x402 protocol (USDC on Base).
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing EU compliance APIs for VAT validation, sanctions screening, counterparty checks, and invoice extraction. Enables AI agents to make pay-per-call requests settled in USDC on Base via x402, with no account or API key required.
      MIT