boamp-server MCP Server

by stefw

3 435 downloads Not rated yet

About

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.

Explore

- Search public markets by keyword, type, and department
- Retrieve full details of a specific market by ID
- Sort results by publication or submission deadline
- Limit the number of returned results
- Works with official French BOAMP procurement data

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"
    }
  }
}

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.

boamp

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

mcp

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.