
boamp-server MCP Server
Serveur MCP (Model Context Protocol) pour interroger l'API BOAMP et récupérer les avis de marchés publics. Ce serveur permet de rechercher des marchés publics en utilisant divers critères et d'obtenir des détails complets sur des marchés spécifiques.
what is boamp-server?
boamp-server is a Model Context Protocol (MCP) server designed to query the BOAMP API and retrieve public market notices. This server allows users to search for public markets using various criteria and obtain complete details about specific markets.
how to use boamp-server?
To use boamp-server, install the necessary dependencies, build the server, and configure it with Claude Desktop. You can then query public markets by sending requests with specific parameters.
key features of boamp-server?
- Retrieve public market notices based on keywords and other criteria.
- Get complete details of specific markets.
- Supports various market types (SERVICES, WORKS, SUPPLIES).
use cases of boamp-server?
- Searching for public markets containing specific keywords like "communication" and "digital".
- Retrieving details of a specific market using its ID.
- Exporting search results into a CSV format for analysis.
FAQ from boamp-server?
- What types of markets can I search for?
You can search for various types of markets including services, works, and supplies.
- How do I install boamp-server?
Install dependencies using
npm install
, build the server withnpm run build
, and configure it for use with Claude Desktop.
- Can I debug the server?
Yes, you can use the MCP Inspector for debugging, which provides a URL to access debugging tools in your browser.
boamp-server MCP Server
Un serveur MCP (Model Context Protocol) pour interroger l'API BOAMP et récupérer les avis de marchés publics. Ce serveur permet de rechercher des marchés publics en utilisant divers critères et d'obtenir des détails complets sur des marchés spécifiques.
Outils
get_public_markets
Récupère les avis de marchés publics selon divers critères
Paramètres:
- keywords* : Liste de mots-clés à rechercher
- type : Type de marché (SERVICES, TRAVAUX, FOURNITURES)
- limit : Nombre maximum de résultats à retourner
- sort_by : Champ de tri (dateparution, datelimitereponse)
- departments : Liste des départements (codes)
get_market_details
Récupère les détails complets d'un marché spécifique
Paramètres:
- idweb* : Identifiant du marché
Exemples
- Recherche les marchés publics contenant les mots-clés "communication" et "digital"
- Recherche les marchés publics contenant les mots-clés "construction d'un hôpital", exporte les résultats dans un CSV
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"boamp-server": {
"command": "/path/to/boamp-server/build/index.js"
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.