mcp-french-public-procurement
# mcp-french-public-procurement
MCP server for French public procurement data: DECP, BOAMP discovery, buyers, suppliers, and SIRENE context.
## Tools
Run the MCP and call `french_public_procurement_get_sources` first to inspect source coverage. This server also exposes domain-specific tools for the topic described above.
Includes raw and curated DECP search, procurement dataset discovery, and supplier/buyer watch-plan helpers.
## Install
```bash
npm install
npm run build
npm test
npm run dev
```
## Claude Desktop
```json
{
"mcpServers": {
"french-public-procurement": {
"command": "npx",
"args": ["mcp-french-public-procurement"]
}
}
}
```
## Sources
- DECP consolidated tabular dataset: https://www.data.gouv.fr/datasets/donnees-essentielles-de-la-commande-publique-consolidees-format-tabulaire
- data.economie.gouv.fr DECP API: https://data.economie.gouv.fr/explore/dataset/decp-v3-marches-valides/
- API DECP: https://www.data.gouv.fr/datasets/api-decp
- BOAMP: https://www.boamp.fr/
- SIRENE data on data.gouv.fr: https://www.data.gouv.fr/datasets/base-sirene-des-entreprises-et-de-leurs-etablissements-siren-siret/
- data.gouv.fr API: https://doc.data.gouv.fr/api/reference/
## 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
Scored across 5 tools
Each tool has a reasonably distinct role: source listing and excerpt fetching differ from the dataset/DECP search tools, and build_supplier_watch creates queries rather than executing them. The only mild ambiguity is between search_decp and search_datasets, but the descriptions clearly distinguish searching a specific dataset from searching available datasets.
All tools share the same french_public_procurement_ prefix and use a consistent snake_case verb-noun pattern: get_, fetch_, search_, search_, build_. There is no mixing of styles or unpredictable naming.
Five tools is well-scoped for a niche French public procurement MCP. The set avoids bloat while covering sources, dataset discovery, DECP search, and supplier monitoring setup.
The surface covers core DECP querying, source exploration, dataset discovery, and supplier-watch planning, but it lacks direct content-level searching for BOAMP, SIRENE, or concessions, and only fetches short excerpts rather than full records. Users can work around this somewhat through build_supplier_watch and search_datasets, but some operations remain indirect.