# French Public Data MCP Server: SIRENE, BODACC, BOAMP, DVF (`actose/france-public-data-mcp`) Actor

\[$0.01 / call] French companies (SIREN, managers, finances), BODACC notices, BOAMP tenders, DVF sales with median price per m2 and BAN geocoding. No API key. For Claude, ChatGPT, Cursor and AI agents. Pay per call, errors are free. Données publiques : entreprises, BODACC, marchés, DVF.

- **URL**: https://apify.com/actose/france-public-data-mcp.md
- **Developed by:** [ABM](https://apify.com/actose) (community)
- **Categories:** MCP servers, AI
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.50 / 1,000 company searches

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## French Public Data MCP Server: companies (SIRENE), BODACC, BOAMP tenders, DVF property prices, BAN geocoding

**Pay per call, from $0.002 to $0.01. Errors and empty results are free. No API key, no login, no monthly fee.**

One MCP endpoint that gives Claude, ChatGPT, Cursor and any AI agent live access to the main French
government open-data sources:

- **Companies**: the official SIRENE register (API Recherche d'entreprises), with SIREN, NAF code, headcount, head office, public managers (dirigeants) and published revenue
- **BODACC**: legal announcements (company creations, sales of businesses, insolvency proceedings, deregistrations, filed accounts)
- **BOAMP**: French public procurement notices (calls for tenders, contract awards and winners)
- **DVF**: every recorded property sale (land registry), with the **median price per m²**
- **BAN**: the national address base, for bulk geocoding and reverse geocoding

Answers are compact JSON built for LLMs: English camelCase fields, no HTML, texts cut at 500 characters,
a `count`, and a `nextCursor` or a `hint` when there is more.

### Tools and prices

| Tool | What it does | Price |
|---|---|---|
| `search_companies` | Search French companies by name, NAF/APE code, department, postal code, headcount | $0.01 per call |
| `get_company` | Full profile by SIREN: identity, status, VAT number, head office, establishments, managers, finances | $0.005 per call |
| `list_bodacc_notices` | BODACC announcements by type, department, SIREN, dates, keywords | $0.01 per call |
| `search_public_tenders` | BOAMP notices by title keywords, department, notice type, contract type, buyer, dates, open only | $0.01 per call |
| `get_property_sales` | DVF sales of a commune or postal code + median / P25 / P75 price per m² by property type | $0.01 per call |
| `geocode_addresses` | Geocode 1 to 50 addresses, or reverse-geocode coordinates (BAN) | $0.002 per address found |

You are charged only when a tool returns data. Invalid input, unknown SIREN, a source that is down, or a
search with no result costs nothing.

### How much does it cost?

- An agent that checks 1,000 companies (`search_companies` then `get_company`): 1,000 × $0.01 + 1,000 × $0.005 = **$15**.
- A daily watch of new insolvency notices in 5 departments: 5 calls a day × 30 days × $0.01 = **$1.50 per month**.
- Geocoding 1,000 addresses (20 calls of 50): at most 1,000 × $0.002 = **$2**; addresses not found are free.
- Estimating the price per m² in 200 communes: 200 × $0.01 = **$2**.

No subscription: you pay the calls your agent makes, within the spending limit you set.

### Connect your agent

The server URL is shown in the **Endpoints** tab of this actor. It looks like:

```
https://<username>--france-public-data-mcp.apify.actor/mcp
```

Authenticate with your Apify API token in the header `Authorization: Bearer <APIFY_TOKEN>`
(Apify Console → Settings → API & Integrations). Transport: streamable HTTP.

#### Claude Desktop

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "france-public-data": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://<username>--france-public-data-mcp.apify.actor/mcp",
        "--header", "Authorization: Bearer ${APIFY_TOKEN}"
      ],
      "env": { "APIFY_TOKEN": "your-apify-token" }
    }
  }
}
```

#### Cursor

`~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "france-public-data": {
      "url": "https://<username>--france-public-data-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer your-apify-token" }
    }
  }
}
```

#### Python agent (official MCP SDK)

```python
import asyncio, os
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

URL = "https://<username>--france-public-data-mcp.apify.actor/mcp"

async def main():
    headers = {"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"}
    async with streamablehttp_client(URL, headers=headers) as (read, write, _):
        async with ClientSession(read, write) as session:
            await session.initialize()
            result = await session.call_tool("get_property_sales",
                                             {"commune": "Toulouse", "property_type": "apartment", "limit": 3})
            print(result.content[0].text)

asyncio.run(main())
```

#### JavaScript (MCP SDK)

```javascript
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";

const transport = new StreamableHTTPClientTransport(
  new URL("https://<username>--france-public-data-mcp.apify.actor/mcp"),
  { requestInit: { headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` } } }
);
const client = new Client({ name: "my-agent", version: "1.0.0" });
await client.connect(transport);
const res = await client.callTool({
  name: "list_bodacc_notices",
  arguments: { notice_type: "insolvency", department: "33", date_from: "2026-10-01", limit: 20 }
});
console.log(res.content[0].text);
```

### Example questions and the tools the assistant calls

| You ask your assistant | Tools called |
|---|---|
| "Find software companies with 50+ employees in Haute-Garonne." | `search_companies` (naf_code 62.01Z, department 31, min_employees 50) |
| "Who runs Danone and what was its last revenue?" | `search_companies` → `get_company` |
| "Has my supplier 844296418 had any insolvency proceedings?" | `list_bodacc_notices` (siren, notice_type insolvency) |
| "Which IT maintenance tenders in Gironde are still open?" | `search_public_tenders` (keywords, department 33, open_only) |
| "What is the price per m² of apartments in Lyon 3e?" | `get_property_sales` (postal_code 69003, property_type apartment) |
| "Put these 40 customer addresses on a map." | `geocode_addresses` |

### Input and output examples

The figures below show the shape of the answers; values are illustrative.

#### get_property_sales

Input:

```json
{"commune": "Toulouse", "property_type": "apartment", "limit": 2}
```

Output (shortened):

```json
{
  "count": 2,
  "area": "Toulouse",
  "years": [2024, 2025],
  "totalSales": 6120,
  "statistics": [
    {"propertyType": "apartment", "salesCount": 6120, "medianPricePerSqm": 3350, "p25PricePerSqm": 2790,
     "p75PricePerSqm": 4010, "salesUsedForPricePerSqm": 5890, "medianPrice": 178000, "medianSurface": 54}
  ],
  "sales": [
    {"saleId": "2025-123456", "saleDate": "2025-06-30", "saleType": "sale", "price": 215000,
     "propertyType": "apartment", "builtSurface": 62, "rooms": 3, "pricePerSqm": 3468, "isMultiUnit": false,
     "address": "12 RUE DES LOIS", "postalCode": "31000", "commune": "Toulouse", "latitude": 43.6061, "longitude": 1.4407}
  ],
  "nextCursor": 2
}
```

#### search_companies

Input:

```json
{"query": "boulangerie", "department": "31", "limit": 1}
```

Output:

```json
{
  "count": 1,
  "total": 1840,
  "companies": [
    {"siren": "812345678", "name": "BOULANGERIE DU CAPITOLE", "status": "active", "nafCode": "10.71C",
     "legalFormCode": "5499", "category": "PME", "headcountRange": "6-9 employees", "creationDate": "2015-09-01",
     "address": "3 RUE DE ROME 31000 TOULOUSE", "postalCode": "31000", "city": "TOULOUSE", "department": "31",
     "openEstablishments": 1, "managers": ["Marie DUPONT (Gérant)"]}
  ],
  "nextCursor": 2
}
```

#### list_bodacc_notices

Input:

```json
{"notice_type": "insolvency", "department": "31", "limit": 1}
```

Output:

```json
{
  "count": 1,
  "total": 72128,
  "notices": [
    {"id": "A202602042005", "publicationDate": "2026-10-23", "bulletin": "A", "type": "Procédures collectives",
     "companyName": "FLAM'INVEST", "siren": "844296418", "city": "Toulouse", "department": "31",
     "court": "Tribunal de commerce de Toulouse", "judgment": "Jugement d'ouverture d'une procédure de liquidation judiciaire - 15 octobre 2026",
     "url": "https://www.bodacc.fr/pages/annonces-commerciales-detail/?q.id=id:A202602042005"}
  ],
  "nextCursor": 1
}
```

#### geocode_addresses

Input:

```json
{"addresses": ["1 place du Capitole, Toulouse"], "coordinates": ["48.8584,2.2945"]}
```

Output:

```json
{
  "count": 2,
  "found": 2,
  "results": [
    {"query": "1 place du Capitole, Toulouse", "mode": "address", "status": "found", "label": "1 Place du Capitole 31000 Toulouse",
     "score": 0.976, "resultType": "housenumber", "houseNumber": "1", "street": "Place du Capitole", "postalCode": "31000",
     "city": "Toulouse", "inseeCode": "31555", "departmentCode": "31", "region": "Occitanie",
     "latitude": 43.603872, "longitude": 1.444053, "source": "geoplateforme"},
    {"query": "48.8584,2.2945", "mode": "reverse", "status": "found", "label": "5 Avenue Anatole France 75007 Paris", "...": "..."}
  ]
}
```

### Use cases

#### 1. Sales prospecting: a business developer qualifies leads in Claude

A B2B sales rep in Toulouse asks Claude every Monday for "IT services companies with 20 to 199 employees in
Haute-Garonne". Claude calls `search_companies`:

```json
{"naf_code": "62.02A", "department": "31", "min_employees": 20, "max_employees": 199, "limit": 25}
```

and gets `[{"siren": "...", "name": "...", "headcountRange": "50-99 employees", "managers": ["... (Président)"]}, ...]`.
For the 10 best leads it calls `get_company` to read managers and revenue, then writes the shortlist to the CRM.
Cost: 3 pages + 10 profiles = 3 × $0.01 + 10 × $0.005 = **$0.08 per week**.

#### 2. Credit risk: a credit manager watches insolvency notices every morning

An n8n workflow calls `list_bodacc_notices` at 7 a.m. for each of the 300 SIRENs of the customer portfolio
that have open invoices, or more cheaply one call per department:

```json
{"notice_type": "insolvency", "department": "69", "date_from": "2026-10-24", "limit": 50}
```

Output: `[{"companyName": "...", "siren": "...", "judgment": "Jugement d'ouverture de redressement judiciaire - ...", "court": "..."}]`.
The workflow matches the SIRENs against the customer list in Google Sheets and sends a Slack alert to the credit
team. 5 departments a day = **$1.50 per month**.

#### 3. Public procurement: a bid manager gets the new IT tenders

Every morning, a bid manager of an IT services company gets the open IT tenders in Haute-Garonne and Gironde
in Google Sheets through a Make scenario (HTTP module → MCP endpoint):

```json
{"keywords": "informatique", "department": "31", "notice_type": "tender", "open_only": true, "include_details": true, "limit": 20}
```

Output: `[{"id": "26-101570", "title": "Maintenance du parc informatique...", "buyer": "...", "deadline": "2026-11-20T12:00:00+01:00", "estimatedValue": 120000, "documentsUrl": "https://...", "url": "https://www.boamp.fr/..."}]`.
2 departments a day = **$0.60 per month**, versus a paid tender-alert subscription.

#### 4. Real estate: an agent prepares a valuation in ChatGPT

A real-estate agent asks "What did 3-room apartments sell for around 33000 Bordeaux in 2024-2025?". The
assistant calls `get_property_sales`:

```json
{"postal_code": "33000", "property_type": "apartment", "year_from": 2024, "min_surface": 55, "max_surface": 75, "limit": 10}
```

and answers with the median price per m², the P25-P75 range and 10 comparable sales with their address. One
valuation = **$0.01**. Adding `geocode_addresses` for the property address ($0.002) lets the agent pick the
closest sales.

#### 5. Data cleaning: an analyst geocodes a customer file

A data analyst in Cursor geocodes a 2,000-row customer list in 40 calls of 50 addresses, keeps the INSEE code
and coordinates, and flags addresses with a score below 0.7 for manual review. At most **$4**, and the
rows not found cost nothing.

### Integrations

- **API**: any MCP client (Python, JavaScript, LangChain, LlamaIndex, OpenAI Agents SDK, Claude Agent SDK) on the `/mcp` URL.
- **Make / n8n / Zapier**: an HTTP request (POST, JSON-RPC `tools/call`) to the MCP URL with the `Authorization: Bearer` header; n8n's MCP Client node works directly.
- **Google Sheets**: write the JSON answers to a sheet from Make, n8n or Zapier (see use cases 2 and 3).
- **Agent payments**: the server runs in limited permissions and can be paid per call by agents (Apify x402 / Skyfire).

### En français : serveur MCP données publiques françaises

Ce serveur MCP donne à votre assistant IA (Claude, ChatGPT, Cursor, agents autonomes) un accès direct aux
données publiques françaises : **recherche d'entreprises SIRENE** (SIREN, code NAF, effectif, dirigeants, chiffre
d'affaires), **annonces BODACC** (créations, ventes de fonds, procédures collectives, radiations, dépôts des
comptes), **marchés publics BOAMP** (appels d'offres, attributions), **ventes immobilières DVF** avec le **prix
médian au m²**, et **géocodage d'adresses BAN**. Sans clé d'API, sans compte, payé à l'appel ; les erreurs et
les recherches vides sont gratuites.

Exemple : « Quel est le prix au m² des appartements à Toulouse ? »

```json
{"tool": "get_property_sales", "arguments": {"commune": "Toulouse", "property_type": "apartment", "limit": 3}}
```

Résultat : `{"area": "Toulouse", "statistics": [{"propertyType": "apartment", "medianPricePerSqm": 3350, ...}], "sales": [...]}`.

Autre exemple : « Mon client 844296418 est-il en redressement judiciaire ? » → `list_bodacc_notices`
avec `{"siren": "844296418", "notice_type": "insolvency"}`.

### FAQ

**Do I need an API key for the French sources?** No. All sources are public open-data APIs; you only need your Apify token to call the server.

**Is the data live?** Yes. Every call queries the official source: SIRENE is updated daily, BODACC and BOAMP several times a week, DVF twice a year (by the DGFiP).

**What is a SIREN / SIRET?** SIREN is the 9-digit French company number; SIRET (14 digits) identifies one establishment. `get_company` accepts both.

**Are managers' personal data included?** Only what the register publishes: name, role, birth year and nationality of managers. Companies or individuals who opted out of publication are not returned.

**Why did a call return `count: 0`?** Nothing matched; the call is free and the `hint` says what to loosen.

**How do I get more results?** Pass the `nextCursor` value as `cursor` in the next call.

**What happens when my spending limit is reached?** The tool returns an error asking to raise the limit; no free results are delivered.

### Limits

- `search_companies` returns 25 companies per call and the register serves 10,000 results per search: narrow the filters for large sets. Companies that opted out of publication are hidden.
- `get_company` lists up to 50 secondary establishments (open ones first). Finances exist only for companies that published their accounts.
- BODACC and BOAMP serve the first 10,000 matches of a search through paging: use dates to go further.
- BOAMP keyword search looks at notice titles; titles are re-checked so stemmed false matches ("informations" for "informatique") are dropped. `include_details` downloads the full notice and is slower.
- DVF covers the last 5 years, with a delay of about 6 months, and **excludes Alsace-Moselle (57, 67, 68) and Mayotte**. Searches work by commune or postal code, not by whole department. For Paris, Lyon and Marseille as a whole only the latest year is read (up to 20 files): use a postal code for one arrondissement. Prices per m² are computed on single-unit sales only.
- `geocode_addresses` handles 50 inputs per call and returns the best match only; it covers French addresses (including overseas departments).
- Data comes from official sources as published; it is not a credit rating or a legal certificate.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

All results, one item per record (dataset).

## `runPage` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("actose/france-public-data-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("actose/france-public-data-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call actose/france-public-data-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,actose/france-public-data-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7BVBNJYZgQdQdCFkQ/builds/xCWv2IpLDFLRO5Bb2/openapi.json
