- Home
- MCP servers
- CBS Open Data
CBS Open Data
- go
5
GitHub Stars
go
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"dstotijn-mcp-cbs-cijfers-open-data": {
"command": "go",
"args": [
"run",
"github.com/dstotijn/mcp-cbs-cijfers-open-data@latest"
]
}
}
}You can use this MCP server to interact with the CBS Open Data API through AI-enabled tools. It exposes a set of operations that let you list catalogs and datasets, inspect metadata and dimensions, and retrieve observations with flexible filtering. This makes it easy to build AI assistants or automation that explore and analyze CBS Open Data.
How to use
You will connect an MCP client to the server to perform actions like listing catalogs, querying datasets, and fetching observations. Use the client’s standard MCP call patterns to invoke the available tools. Start by discovering what catalogs exist, then drill into datasets, their dimensions, and observations. You can shape responses with filters, sorting, and pagination so you only get the data you need.
How to install
Prerequisites: you need Go installed on your system to run the MCP server locally. Ensure your Go toolchain is available on your PATH.
{
"mcpServers": {
"cbs_cijfers_open": {
"command": "go",
"args": ["run", "github.com/dstotijn/mcp-cbs-cijfers-open-data@latest"]
}
}
}
Additional sections
Configuration notes: the MCP server exposes a standard set of tools that you can call through a MCP client. The available tools let you retrieve catalogs, query datasets with advanced filters, inspect dataset dimensions and their values, and fetch observations with optional filters and pagination.
Tools and endpoints
The server provides the following tools for AI assistants to interact with the CBS Open Data API:
Available tools
get_catalogs
Retrieves all available CBS data catalogs.
query_datasets
Lists datasets from the CBS Open Data API with advanced filtering, sorting, and pagination options.
get_dimensions
Retrieves all dimensions for a specific dataset.
get_dimension_values
Retrieves all values for a specific dimension with filtering and sorting options.
get_observations
Retrieves observations from a specific dataset with optional filters.
query_observations
Queries observations with advanced OData query options to filter, sort, and shape results.
get_metadata
Retrieves the OData service metadata document for the CBS API.