mcp-marches-publics
README.md
# marches_publics_mcp — Marchés publics & entreprises (France)
Serveur MCP qui donne à un agent des outils sur les données publiques françaises, à partir d'API ouvertes officielles (aucune clé requise).
| Outil | Source | Rôle |
|-------|--------|------|
| `search_tenders` | BOAMP | Appels d'offres publics en cours (par mot-clé, département) |
| `get_tender` | BOAMP | Détail d'un avis (par idweb) |
| `search_awarded_contracts` | DECP | Marchés attribués : qui a gagné quoi, pour quel montant |
| `company_lookup` | Recherche d'entreprises | Entreprise par nom / SIREN / SIRET |
## Lancer en local
```bash
pip install -r requirements.txt
python test_local.py # teste chaque outil sur les API réelles
python server.py # STDIO
```
## Production (MCP Hive)
```bash
MCP_TRANSPORT=streamable-http HOST=0.0.0.0 PORT=8000 python server.py
# Endpoint : http://<hôte>:8000/mcp (Streamable HTTP, stateless + JSON)
```
Docker : `docker build -t mcp-marches-publics . && docker run -p 8000:8000 mcp-marches-publics`
## Sources
- [BOAMP (Opendatasoft)](https://boamp-datadila.opendatasoft.com/)
- [DECP — decp-v3-marches-valides](https://data.economie.gouv.fr/explore/dataset/decp-v3-marches-valides/)
- [API Recherche d'entreprises](https://recherche-entreprises.api.gouv.fr/)
This server cannot be deployed
Maintenance
ActivityStale
ResponsivenessNo issues