# French Communes Finances 2021-2025 (OFGL Accounts) (`phonic_lily/france-communes-finances-ofgl`) Actor

174,251 records of French commune accounts (main budget), fiscal years 2021-2025 (OFGL): 53 aggregates (spending, revenue, investment, debt, savings, staff, taxes) plus per-inhabitant ratios for 34,875 communes. Last 5 years only: the full base is too large. Embedded data, pay per record.

- **URL**: https://apify.com/phonic_lily/france-communes-finances-ofgl.md
- **Developed by:** [Henri bousquet](https://apify.com/phonic_lily) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 commune-year record returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

### What this Actor does

174,251 records of French commune accounts (main budget), fiscal years 2021-2025 (OFGL): 53 aggregates (spending, revenue, investment, debt, savings, staff, taxes) plus per-inhabitant ratios for 34,875 communes. Last 5 years only: the full base is too large. Embedded data, pay per record.

**No scraping, no live dependency, no login**: the data is embedded in the Actor and searched locally. You pay per record returned (pay-per-event `commune-finance-result`), never for empty runs.

### What you get

- 174,251 records, snapshot 2026-11-09 download of OFGL base (dataset last modified 2026-07-29).
- Source licence: Licence Ouverte 2.0 (Etalab).
- 21 input filters, all optional and combinable; results export as JSON, CSV, Excel, XML or HTML from the console or the API.

### Quick start

Press **Try for free** with the pre-filled input, or paste it into the Input tab:

```json
{
  "departments": [
    "62"
  ],
  "maxResults": 10
}
```

That run returns up to 10 records and costs about $0.04 (10 x $0.004). A run of 1,000 records costs $4.00. `maxResults` (up to 10,000) caps both the output and the bill.

### Example output

One real record from the data, columns as returned:

```json
{
  "record_id": "01004-2021",
  "commune_code": "01004",
  "commune_name": "Ambérieu-en-Bugey",
  "fiscal_year": 2021,
  "department_code": "01",
  "department": "Ain",
  "region_code": "84",
  "region": "Auvergne-Rhône-Alpes",
  "epci_code": "240100883",
  "epci_name": "Communauté de communes de la Plaine de l'Ain",
  "population": 14586,
  "population_bracket": "7",
  "income_per_capita_bracket": "2",
  "is_rural": false
}
```

### Input

Every filter is optional; combine them freely.

- `query` (string): Commune name (accent- and case-insensitive substring).
- `communeCode` (string): INSEE commune code (full or part) (accent- and case-insensitive substring).
- `epciName` (string): EPCI name (accent- and case-insensitive substring).
- `departments` (array): Department codes (e.g. 75, 2A, 971). Records with an empty value never match.
- `regions` (array): Regions. Records with an empty value never match.
- `isRural` (array): Rural commune (true or false). Records with an empty value never match.
- `isMountain` (array): Mountain commune (true or false). Records with an empty value never match.
- `isTourist` (array): Tourist commune (true or false). Records with an empty value never match.
- `minFiscalYear` (number): Min fiscal year. Records with an empty value never match.
- `maxFiscalYear` (number): Max fiscal year. Records with an empty value never match.
- `minPopulation` (number): Min population. Records with an empty value never match.
- `maxPopulation` (number): Max population. Records with an empty value never match.
- `minSpendingPerCapitaEur` (number): Min total spending per inhabitant (EUR). Records with an empty value never match.
- `maxSpendingPerCapitaEur` (number): Max total spending per inhabitant (EUR). Records with an empty value never match.
- `minRevenuePerCapitaEur` (number): Min total revenue per inhabitant (EUR). Records with an empty value never match.
- `maxRevenuePerCapitaEur` (number): Max total revenue per inhabitant (EUR). Records with an empty value never match.
- `minDebtPerCapitaEur` (number): Min debt outstanding per inhabitant (EUR). Records with an empty value never match.
- `maxDebtPerCapitaEur` (number): Max debt outstanding per inhabitant (EUR). Records with an empty value never match.
- `minGrossSavingsPerCapitaEur` (number): Min gross savings per inhabitant (EUR). Records with an empty value never match.
- `maxGrossSavingsPerCapitaEur` (number): Max gross savings per inhabitant (EUR). Records with an empty value never match.
- `sortBy` (string): Sort by. Sort order of results. Default: file order (or distance when a radius is given).
- `maxResults` (integer): Max results. Maximum records returned and billed (1..10000).

### Output fields

- `record_id` : Stable key: commune code - fiscal year.
- `commune_code` : INSEE commune code (2025 geography).
- `commune_name` : Commune name (2025).
- `fiscal_year` : Fiscal year (exercice) of the accounts, 2021-2025.
- `department_code` : Department code.
- `department` : Department name.
- `region_code` : Region code.
- `region` : Region name.
- `epci_code` : EPCI (intercommunality) SIREN code.
- `epci_name` : EPCI name.
- `population` : Total population used by OFGL for per-capita figures.
- `population_bracket` : OFGL population bracket (strate) code.
- `income_per_capita_bracket` : OFGL bracket of taxable income per inhabitant.
- `is_rural` : Rural commune flag.
- `is_mountain` : Mountain commune flag.
- `is_tourist` : Tourist commune flag.
- `has_qpv` : Commune hosts a priority urban neighbourhood (QPV).
- `overseas` : Overseas commune flag.
- `siren` : SIREN of the commune.
- `accounting_standard` : Accounting nomenclature of the main budget (M14, M57, M57A...).
- `achats_et_charges_externes_eur` : Achats et charges externes, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `annuite_de_la_dette_eur` : Annuite de la dette, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_dotations_de_fonctionnement_eur` : Autres dotations de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_dotations_et_subventions_eur` : Autres dotations et subventions, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_depenses_d_investissement_eur` : Autres depenses d investissement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_depenses_de_fonctionnement_eur` : Autres depenses de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_impots_et_taxes_eur` : Autres impots et taxes, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_recettes_d_investissement_eur` : Autres recettes d investissement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `autres_recettes_de_fonctionnement_eur` : Autres recettes de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `capacite_ou_besoin_de_financement_eur` : Capacite ou besoin de financement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `charges_financieres_eur` : Charges financieres, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `concours_de_l_etat_eur` : Concours de l etat, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `credits_de_tresorerie_eur` : Credits de tresorerie, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `dotation_globale_de_fonctionnement_eur` : Dotation globale de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_d_intervention_eur` : Depenses d intervention, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_d_investissement_eur` : Depenses d investissement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_d_investissement_hors_remb_eur` : Depenses d investissement hors remb, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_d_equipement_eur` : Depenses d equipement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_d_equipement_eur_per_capita` : Depenses d equipement, per inhabitant (EUR). Null when not reported.
- `depenses_de_fonctionnement_eur` : Depenses de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_de_fonctionnement_eur_per_capita` : Depenses de fonctionnement, per inhabitant (EUR). Null when not reported.
- `depenses_totales_eur` : Depenses totales, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depenses_totales_eur_per_capita` : Depenses totales, per inhabitant (EUR). Null when not reported.
- `depenses_totales_hors_remb_eur` : Depenses totales hors remb, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `depots_au_tresor_eur` : Depots au tresor, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `emprunts_hors_gad_eur` : Emprunts hors gad, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `encours_de_dette_eur` : Encours de dette, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `encours_de_dette_eur_per_capita` : Encours de dette, per inhabitant (EUR). Null when not reported.
- `encours_de_dette_dettes_bancaires_et_assimilees_eur` : Encours de dette dettes bancaires et assimilees, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `encours_de_dette_depots_et_cautionnements_recus_eur` : Encours de dette depots et cautionnements recus, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `epargne_brute_eur` : Epargne brute, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `epargne_brute_eur_per_capita` : Epargne brute, per inhabitant (EUR). Null when not reported.
- `epargne_de_gestion_eur` : Epargne de gestion, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `epargne_nette_eur` : Epargne nette, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `fctva_eur` : Fctva, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `fiscalite_reversee_eur` : Fiscalite reversee, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `flux_net_de_dette_eur` : Flux net de dette, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `fonds_de_roulement_eur` : Fonds de roulement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `fonds_de_soutien_aux_emprunts_a_risque_eur` : Fonds de soutien aux emprunts a risque, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `frais_de_personnel_eur` : Frais de personnel, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `frais_de_personnel_eur_per_capita` : Frais de personnel, per inhabitant (EUR). Null when not reported.
- `impots_et_taxes_eur` : Impots et taxes, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `impots_locaux_eur` : Impots locaux, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `produit_des_cessions_d_immobilisations_eur` : Produit des cessions d immobilisations, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `perequations_et_compensations_fiscales_eur` : Perequations et compensations fiscales, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `recettes_d_investissement_eur` : Recettes d investissement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `recettes_d_investissement_hors_emprunts_eur` : Recettes d investissement hors emprunts, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `recettes_de_fonctionnement_eur` : Recettes de fonctionnement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `recettes_de_fonctionnement_eur_per_capita` : Recettes de fonctionnement, per inhabitant (EUR). Null when not reported.
- `recettes_totales_eur` : Recettes totales, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `recettes_totales_eur_per_capita` : Recettes totales, per inhabitant (EUR). Null when not reported.
- `recettes_totales_hors_emprunts_eur` : Recettes totales hors emprunts, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `remboursements_d_emprunts_hors_gad_eur` : Remboursements d emprunts hors gad, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `subventions_aux_personnes_de_droit_prive_eur` : Subventions aux personnes de droit prive, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `subventions_d_equipement_versees_eur` : Subventions d equipement versees, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `subventions_recues_et_participations_eur` : Subventions recues et participations, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `tva_eur` : Tva, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `taxe_d_enlevement_des_ordures_menageres_eur` : Taxe d enlevement des ordures menageres, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `variation_du_fonds_de_roulement_eur` : Variation du fonds de roulement, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `ventes_de_biens_et_services_eur` : Ventes de biens et services, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.
- `versement_transport_eur` : Versement transport, total amount in EUR for the fiscal year (main budget). Null when not reported; 0.0 is a reported zero.

Every record also carries `license` and `attribution` so you can republish with the required credit. Empty values are returned as `null` (never as 0).

### Call it from code

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("phonic_lily/france-communes-finances-ofgl").call(run_input={"departments": ["62"], "maxResults": 10})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

```bash
curl -X POST "https://api.apify.com/v2/acts/phonic_lily~france-communes-finances-ofgl/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" -d '{"departments": ["62"], "maxResults": 10}'
```

### Pricing

Pay per event: $0.004 per record returned, no start fee, nothing billed for an empty run.

| Records returned | Cost |
|---|---|
| 10 | $0.04 |
| 100 | $0.40 |
| 1,000 | $4.00 |
| 10,000 | $40.00 |

### Use it from an AI agent (MCP)

Add this Actor as a tool to Claude, Cursor or any MCP client through the Apify MCP server:

```
https://mcp.apify.com?tools=phonic_lily/france-communes-finances-ofgl
```

The agent gets the input schema above and pays per record like any other run.

### FAQ

**Where does the data come from?** OFGL dataset ofgl-base-communes 'Comptes des communes 2018-2025' (https://data.ofgl.fr/explore/dataset/ofgl-base-communes/), Licence Ouverte v2.0 (Etalab) per the dataset metadata (modified 2026-07-29). The full base holds 21,857,255 rows (commune x budget x aggregate x fiscal year 2018-2025), far above 300 MB as CSV, so this Actor keeps the 5 last fiscal years (2021-2025) and the main budget only (annex budgets are excluded), pivoted to one record per commune and fiscal year with one column per aggregate (amounts in EUR) and per-inhabitant values for 8 key aggregates. An aggregate absent from a commune's accounts is null, never 0; a reported zero stays 0.0. Commune names, department, region and EPCI follow the 2025 geography. Population is the figure OFGL uses for per-inhabitant ratios. Data are public accounts of local authorities; no individual person is identified.

**How fresh is it?** Snapshot 2026-11-09 download of OFGL base (dataset last modified 2026-07-29). The data is embedded in the Actor and updated when the publisher rebuilds it, so a run never depends on a live source and never fails because a site is down.

**What does a run cost?** $0.004 per returned record, nothing for runs that return no record. Apify free plan credit ($5) covers about 1,250 records.

**Do I need a proxy, an account on the source or a browser?** No: the Actor reads its own embedded file.

### Data and licence

OFGL dataset ofgl-base-communes 'Comptes des communes 2018-2025' (https://data.ofgl.fr/explore/dataset/ofgl-base-communes/), Licence Ouverte v2.0 (Etalab) per the dataset metadata (modified 2026-07-29). The full base holds 21,857,255 rows (commune x budget x aggregate x fiscal year 2018-2025), far above 300 MB as CSV, so this Actor keeps the 5 last fiscal years (2021-2025) and the main budget only (annex budgets are excluded), pivoted to one record per commune and fiscal year with one column per aggregate (amounts in EUR) and per-inhabitant values for 8 key aggregates. An aggregate absent from a commune's accounts is null, never 0; a reported zero stays 0.0. Commune names, department, region and EPCI follow the 2025 geography. Population is the figure OFGL uses for per-inhabitant ratios. Data are public accounts of local authorities; no individual person is identified.

Snapshot date: 2026-11-09 download of OFGL base (dataset last modified 2026-07-29).

# Actor input Schema

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

Commune name (accent- and case-insensitive substring).

## `communeCode` (type: `string`):

INSEE commune code (full or part) (accent- and case-insensitive substring).

## `epciName` (type: `string`):

EPCI name (accent- and case-insensitive substring).

## `departments` (type: `array`):

Department codes (e.g. 75, 2A, 971). Records with an empty value never match.

## `regions` (type: `array`):

Regions. Records with an empty value never match.

## `isRural` (type: `array`):

Rural commune (true or false). Records with an empty value never match.

## `isMountain` (type: `array`):

Mountain commune (true or false). Records with an empty value never match.

## `isTourist` (type: `array`):

Tourist commune (true or false). Records with an empty value never match.

## `minFiscalYear` (type: `number`):

Min fiscal year. Records with an empty value never match.

## `maxFiscalYear` (type: `number`):

Max fiscal year. Records with an empty value never match.

## `minPopulation` (type: `number`):

Min population. Records with an empty value never match.

## `maxPopulation` (type: `number`):

Max population. Records with an empty value never match.

## `minSpendingPerCapitaEur` (type: `number`):

Min total spending per inhabitant (EUR). Records with an empty value never match.

## `maxSpendingPerCapitaEur` (type: `number`):

Max total spending per inhabitant (EUR). Records with an empty value never match.

## `minRevenuePerCapitaEur` (type: `number`):

Min total revenue per inhabitant (EUR). Records with an empty value never match.

## `maxRevenuePerCapitaEur` (type: `number`):

Max total revenue per inhabitant (EUR). Records with an empty value never match.

## `minDebtPerCapitaEur` (type: `number`):

Min debt outstanding per inhabitant (EUR). Records with an empty value never match.

## `maxDebtPerCapitaEur` (type: `number`):

Max debt outstanding per inhabitant (EUR). Records with an empty value never match.

## `minGrossSavingsPerCapitaEur` (type: `number`):

Min gross savings per inhabitant (EUR). Records with an empty value never match.

## `maxGrossSavingsPerCapitaEur` (type: `number`):

Max gross savings per inhabitant (EUR). Records with an empty value never match.

## `sortBy` (type: `string`):

Sort order of results. Default: file order (or distance when a radius is given).

## `maxResults` (type: `integer`):

Maximum records returned and billed (1..10000).

## Actor input object example

```json
{
  "departments": [
    "62"
  ],
  "maxResults": 10
}
```

# Actor output Schema

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

Dataset items returned by the run.

# 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 = {
    "departments": [
        "62"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("phonic_lily/france-communes-finances-ofgl").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 = {
    "departments": ["62"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("phonic_lily/france-communes-finances-ofgl").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 '{
  "departments": [
    "62"
  ],
  "maxResults": 10
}' |
apify call phonic_lily/france-communes-finances-ofgl --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phonic_lily/france-communes-finances-ofgl"
        }
    }
}
```

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/3zAJLwdDxV7jNoXLi/builds/NWj8jY2hI9Xr4kIBJ/openapi.json
