# FR Company Intelligence (MCP) (`scrap_them_all/fr-company-intelligence-mcp`) Actor

MCP-friendly Apify Actor that returns a structured French-company intelligence card from a name, SIREN or SIRET. Identity, dirigeants, NAF activity, finances, status — all in one fast JSON response. Free baseline via the official api.gouv.fr; optional Pappers upgrade for BODACC and INPI marques.

- **URL**: https://apify.com/scrap\_them\_all/fr-company-intelligence-mcp.md
- **Developed by:** [scrap\_them\_all](https://apify.com/scrap_them_all) (community)
- **Categories:** AI, MCP servers, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 company cards

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## FR Company Intelligence (MCP)

### What does FR Company Intelligence do?

Pass a French company name, **SIREN** (9 digits) or **SIRET** (14 digits)
and get back a single structured JSON object with the company's identity,
dirigeants, NAF activity, address, latest revenue and net income, and a
flag for any active collective procedure. Designed to be **called from
an MCP agent loop** (Claude, Cursor, GPT…) - input minimal, output small,
run completes in seconds.

Default data source: the **official `recherche-entreprises.api.gouv.fr`**
which already aggregates INSEE Sirene + INPI dirigeants + DGFiP finances.
No API key required for the baseline.

### Why use it from an AI agent?

- **Sub-second runs** - agents can chain 50 calls in a sales-research loop.
- **Idempotent** - same input → same output, no race conditions.
- **Tight schema** - agents don't waste tokens parsing tables.
- **Free baseline + paid upgrade** - the gov.fr tier covers identity +
  finances; opt in to Pappers for BODACC procedures and INPI marques.

### Input

| Field                | Type    | Default | Description                                                                 |
| -------------------- | ------- | ------- | --------------------------------------------------------------------------- |
| `query`              | string  | -       | Required. Company name, SIREN, SIRET, or domain (`doctolib.fr` works)       |
| `includeFinancials`  | boolean | `true`  | Include `chiffreAffaires`, `resultatNet`, full `finances` array             |
| `includeBodacc`      | boolean | `false` | BODACC publications. Requires `pappersApiToken` (BYOK) or env var           |
| `includeMarques`     | boolean | `false` | INPI trademarks. Requires `pappersApiToken` (BYOK) or env var               |
| `pappersApiToken`    | string  | -       | **Bring your own** Pappers API token (free 100/month at pappers.fr/api). Unlocks direct SIREN/SIRET lookup, BODACC, INPI marques. You pay your own quota - no shared key. |

```json
{
    "query": "Doctolib",
    "includeFinancials": true
}
````

### Output

Single object, written to both the run's dataset (1 row) and the default
key-value store under the key `OUTPUT`:

```json
{
    "siren": "794598813",
    "siret": "79459881300077",
    "nom": "DOCTOLIB",
    "raisonSociale": "DOCTOLIB",
    "sigle": null,
    "formeJuridique": "SAS",
    "formeJuridiqueCode": "5710",
    "dateCreation": "2013-09-23",
    "statut": "active",
    "codeNaf": "62.01Z",
    "adresse": "54 QUAI CHARLES PASQUA 92300 LEVALLOIS-PERRET",
    "codePostal": "92300",
    "commune": "LEVALLOIS-PERRET",
    "dirigeants": [
        {
            "nom": "NIOX-CHATEAU",
            "prenom": "Stanislas",
            "role": "Président de SAS",
            "type": "personne physique",
            "nationalite": null
        }
    ],
    "dirigeantsCount": 1,
    "trancheEffectif": "42",
    "categorieEntreprise": "ETI",
    "chiffreAffaires": 311448000,
    "resultatNet": -127499000,
    "finances": [
        { "annee": 2024, "chiffreAffaires": 311448000, "resultatNet": -127499000 },
        { "annee": 2023, "chiffreAffaires": 230000000, "resultatNet": -200000000 }
    ],
    "nombreEtablissements": 9,
    "nombreEtablissementsOuverts": 3,
    "procedureCollective": null,
    "bodacc": [],
    "marques": [],
    "sources": ["recherche-entreprises.api.gouv.fr"],
    "pappersUrl": "https://www.pappers.fr/entreprise/794598813",
    "govUrl": "https://annuaire-entreprises.data.gouv.fr/entreprise/794598813",
    "scrapedAt": "2026-05-08T12:00:00.000Z"
}
```

### Pricing (PPE)

| Mode                                    | Price per call |
| --------------------------------------- | -------------- |
| Default (gov.fr only, w/ finances)      | $0.006         |
| `pappersApiToken` set (BYOK)            | $0.006         |
| `includeBodacc` and/or `includeMarques` | $0.006 (you also burn 1 token from your Pappers quota) |

Pricing is per-call, billed via Apify Pay-Per-Event (`apify-actor-start` +
`apify-default-dataset-item`). You bring your own Pappers token when you
need the Pappers-only fields, so this Actor never burns a shared quota.

Compare: Pappers direct API costs ~$0.10/call ($99/mo for 1000 calls).
This Actor adds disambiguation, MCP-friendly schema, and the free gov.fr
baseline at a fraction of that price.

### Calling from an MCP agent

The Apify MCP server (`mcp.apify.com`) exposes this Actor as the tool
`call-actor` with name `fr-company-intelligence-mcp`. A typical agent
prompt: *"Use call-actor to look up Doctolib via the
fr-company-intelligence-mcp Actor and return its latest revenue."* The
agent receives the JSON above and can answer in a single turn.

### Sources, freshness, legality

- `recherche-entreprises.api.gouv.fr` - official French government
  service, public open data, no auth, ≈7 req/s rate limit. Refresh
  cadence: daily for INSEE, weekly for finances.
- `api.pappers.fr` (optional) - commercial API, your account, your quota.
  Pappers has explicit ToS for programmatic access; respect their fair-use.

This Actor exposes only public regulatory / commercial-register data. No
personal data beyond what is already published in the Sirene / INPI
public registers.

# Actor input Schema

## `query` (type: `string`):

Accepted forms:

- Company name: 'Doctolib'
- SIREN (9 digits): '794598813' (requires PAPPERS\_API\_TOKEN - gov.fr does not expose direct SIREN lookup)
- SIRET (14 digits): '79459881300077' (same)
- Domain or URL: 'doctolib.fr' or 'https://www.qonto.com/fr' - the brand label is extracted automatically and a name search is performed

## `includeFinancials` (type: `boolean`):

Adds the latest annual revenue, net income and effectif. Free - sourced from the gov.fr API which already aggregates DGFiP filings.

## `includeBodacc` (type: `boolean`):

Adds BODACC procedures (procédures collectives, modifications statutaires, ventes/cessions). Requires a Pappers API token, either via the pappersApiToken input below or the PAPPERS\_API\_TOKEN environment variable.

## `includeMarques` (type: `boolean`):

Adds the company's filed INPI marques. Requires a Pappers API token (see pappersApiToken below).

## `pappersApiToken` (type: `string`):

Optional. Bring your own Pappers API token to unlock direct SIREN/SIRET lookup, BODACC publications and INPI marques. Free 100-token tier at https://www.pappers.fr/api. You pay your own Pappers quota - this Actor never burns through a shared key on your behalf. Leave empty to stay on the free gov.fr baseline.

## Actor input object example

```json
{
  "query": "Doctolib",
  "includeFinancials": true,
  "includeBodacc": false,
  "includeMarques": false
}
```

# Actor output Schema

## `company` (type: `string`):

No description

## `dataset` (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("scrap_them_all/fr-company-intelligence-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("scrap_them_all/fr-company-intelligence-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 scrap_them_all/fr-company-intelligence-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrap_them_all/fr-company-intelligence-mcp",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "FR Company Intelligence (MCP)",
        "description": "MCP-friendly Apify Actor that returns a structured French-company intelligence card from a name, SIREN or SIRET. Identity, dirigeants, NAF activity, finances, status — all in one fast JSON response. Free baseline via the official api.gouv.fr; optional Pappers upgrade for BODACC and INPI marques.",
        "version": "0.2",
        "x-build-id": "aTQkrcGbpnmjPMJfR"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrap_them_all~fr-company-intelligence-mcp/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrap_them_all-fr-company-intelligence-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrap_them_all~fr-company-intelligence-mcp/runs": {
            "post": {
                "operationId": "runs-sync-scrap_them_all-fr-company-intelligence-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrap_them_all~fr-company-intelligence-mcp/run-sync": {
            "post": {
                "operationId": "run-sync-scrap_them_all-fr-company-intelligence-mcp",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Company name, SIREN, SIRET, or domain",
                        "minLength": 2,
                        "type": "string",
                        "description": "Accepted forms:\n- Company name: 'Doctolib'\n- SIREN (9 digits): '794598813' (requires PAPPERS_API_TOKEN - gov.fr does not expose direct SIREN lookup)\n- SIRET (14 digits): '79459881300077' (same)\n- Domain or URL: 'doctolib.fr' or 'https://www.qonto.com/fr' - the brand label is extracted automatically and a name search is performed"
                    },
                    "includeFinancials": {
                        "title": "Include financial data",
                        "type": "boolean",
                        "description": "Adds the latest annual revenue, net income and effectif. Free - sourced from the gov.fr API which already aggregates DGFiP filings.",
                        "default": true
                    },
                    "includeBodacc": {
                        "title": "Include BODACC publications (Pappers upgrade)",
                        "type": "boolean",
                        "description": "Adds BODACC procedures (procédures collectives, modifications statutaires, ventes/cessions). Requires a Pappers API token, either via the pappersApiToken input below or the PAPPERS_API_TOKEN environment variable.",
                        "default": false
                    },
                    "includeMarques": {
                        "title": "Include INPI trademarks (Pappers upgrade)",
                        "type": "boolean",
                        "description": "Adds the company's filed INPI marques. Requires a Pappers API token (see pappersApiToken below).",
                        "default": false
                    },
                    "pappersApiToken": {
                        "title": "Pappers API token (BYOK)",
                        "type": "string",
                        "description": "Optional. Bring your own Pappers API token to unlock direct SIREN/SIRET lookup, BODACC publications and INPI marques. Free 100-token tier at https://www.pappers.fr/api. You pay your own Pappers quota - this Actor never burns through a shared key on your behalf. Leave empty to stay on the free gov.fr baseline."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
