Skip to main content
Glama
Hug0x0

mcp-french-transport-data

by Hug0x0
README.md
# mcp-french-transport-data

MCP server for transport.data.gouv.fr: datasets, GTFS resources, regions, networks, and data-quality discovery.

## Tools

Run the MCP and call `french_transport_data_get_sources` first to inspect source coverage. This server also exposes domain-specific tools for the topic described above.

- `french_transport_data_search_datasets`
- `french_transport_data_get_dataset`
- `french_transport_data_list_dataset_resources`
- `french_transport_data_search_data_gouv`

## Install

```bash
npm install
npm run build
npm test
npm run dev
```

## Claude Desktop

```json
{
  "mcpServers": {
    "french-transport-data": {
      "command": "npx",
      "args": ["mcp-french-transport-data"]
    }
  }
}
```

## Sources

- transport.data.gouv.fr: https://transport.data.gouv.fr/
- transport.data.gouv.fr API docs: https://doc.transport.data.gouv.fr/outils/outils-disponibles-sur-le-pan/api
- transport API Swagger: https://transport.data.gouv.fr/swaggerui
- National stops dataset: https://transport.data.gouv.fr/datasets/arrets-de-transport-en-france

## Publishing

See [docs/publishing.md](docs/publishing.md).

## Glama / Docker

The repo includes `Dockerfile` and `glama.json`.

Build steps:

```json
["npm install", "npm run build"]
```

CMD arguments:

```json
["node", "dist/index.js"]
```

## Safety

This MCP helps agents discover and summarize public sources. It is not an official authority. Verify decisions against the competent public service or original data producer.

## License

MIT

TDQS

B3.4/5.0

Scored across 5 tools

Disambiguation4/5

Tools are mostly distinct, targeting either curated sources or transport.data.gouv datasets. However, 'search_datasets' and 'search_data_gouv' both perform dataset searches with overlapping scope, which could cause misselection.

Naming Consistency5/5

All tool names follow the consistent 'french_transport_data_<verb>_<object>' pattern using snake_case, making the API predictable and easy to navigate.

Tool Count5/5

Five tools is a well-scoped size for a transport data retrieval server, each covering a distinct operation without feeling sparse or bloated.

Completeness4/5

The set covers browsing curated sources, fetching excerpts, searching and retrieving datasets from transport.data.gouv.fr, and a broader mobility search. Minor gaps exist, such as lack of direct dataset download or listing all datasets, but core workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo issues