Parameters
Search keywords to find matching dataservices.The API uses AND logic, so all words must match. Generic words like “données” or “fichier” are automatically filtered out to improve results. Use short, specific queries for best results.
Page number for pagination.Results are paginated with 20 items per page by default. Use this parameter to navigate through multiple pages of results.
Number of results per page.Maximum: 100. Controls how many dataservices are returned in a single request.
Returns
Returns a formatted text response containing:- Total number of matching dataservices
- Current page number
- For each dataservice:
- Title
- Dataservice ID
- Description (truncated to 200 characters)
- Organization name
- Base API URL
- Tags (up to 5)
- Dataservice URL on data.gouv.fr
Usage notes
Dataservices are external third-party APIs (e.g., Adresse API, Sirene API) registered in the data.gouv.fr catalog. They are distinct from data.gouv.fr’s own internal APIs that power the MCP server.
Automatic query cleaning
The tool uses the same query cleaning assearch_datasets. The following words are automatically filtered:
- données, donnee, donnees
- fichier, fichiers
- tableau, tableaux
- csv, excel, xlsx, json, xml
Search tips
- Use specific keywords related to the API topic (e.g., “adresse”, “sirene”, “cadastre”)
- Avoid generic words like “api” or “data”
- Use French keywords for better results on the French data platform
- Look for the base API URL in results to understand what the API provides
Example workflow
Typical workflow:search_dataservices → get_dataservice_info → get_dataservice_openapi_spec → call the API using base_api_url per spec.
- Search for dataservices: “adresse”
- Get the dataservice ID from results
- Use
get_dataservice_infoto see metadata and documentation URLs - Use
get_dataservice_openapi_specto understand available endpoints - Call the API directly using the base URL and endpoint information