Cover image
Try Now
2025-03-19

Servidor MCP para trabajar con los datos abiertos de CBS CIJFers

3 years

Works with Finder

2

Github Watches

1

Github Forks

2

Github Stars

mcp-cbs-cijfers-open-data

This project provides a Model Context Protocol (MCP) server for the CBS Open Data API. It allows AI tools to interact with the CBS Open Data through MCP tools.

Features

  • Implements a Model Context Protocol (MCP) server
  • Provides tools for interacting with the CBS Open Data:
    • List available datasets and catalogs
    • Query dataset metadata and dimensions
    • Retrieve statistical data with filtering options
    • Explore dimension values

Tools

This MCP server provides the following tools for AI assistants to interact with the CBS Open Data API:

get_catalogs

Retrieves all available CBS data catalogs.

Parameters:

  • None

query_datasets

Lists available datasets from the CBS Open Data API with advanced filtering, sorting, and pagination options.

Parameters:

  • catalog (required): Catalog identifier (use "CBS")
  • select (optional): OData $select parameter to choose specific fields
  • filter (optional): OData $filter parameter for filtering results
  • orderby (optional): OData $orderby parameter for sorting results
  • top (optional): OData $top parameter for limiting results
  • skip (optional): OData $skip parameter for pagination
  • count (optional): OData $count parameter to include count in response
  • search (optional): OData $search parameter for free-text search
  • expand (optional): OData $expand parameter to include related entities

get_dimensions

Retrieves all dimensions for a specific dataset.

Parameters:

  • catalog (required): Catalog identifier
  • dataset (required): Dataset identifier

get_dimension_values

Retrieves all values for a specific dimension with filtering and sorting options.

Parameters:

  • catalog (required): Catalog identifier
  • dataset (required): Dataset identifier
  • dimension (required): Dimension identifier
  • select (optional): OData $select parameter to choose specific fields
  • filter (optional): Additional OData $filter parameter for filtering results
  • orderby (optional): OData $orderby parameter for sorting results
  • top (optional): OData $top parameter for limiting results

get_observations

Retrieves observations from a specific dataset with optional filters.

Parameters:

  • catalog (required): Catalog identifier
  • dataset (required): Dataset identifier
  • filters (optional): Filters as key-value pairs
  • limit (optional): Maximum number of observations to return

query_observations

Queries observations with advanced OData query options to filter, sort, and shape results.

Parameters:

  • catalog (required): Catalog identifier
  • dataset (required): Dataset identifier
  • select (optional): OData $select parameter to choose specific fields
  • filter (optional): OData $filter parameter for filtering results
  • orderby (optional): OData $orderby parameter for sorting results
  • top (optional): OData $top parameter for limiting results
  • skip (optional): OData $skip parameter for pagination
  • count (optional): OData $count parameter to include count in response
  • search (optional): OData $search parameter for free-text search
  • expand (optional): OData $expand parameter to include related entities

get_metadata

Retrieves the OData service metadata document for the CBS API.

Parameters:

  • None

Requirements

Installation

Configuration for common MCP hosts (Claude Desktop, Cursor):

{
  "mcpServers": {
    "cbs-cijfers-open-data": {
      "command": "go",
      "args": ["run", "github.com/dstotijn/mcp-cbs-cijfers-open-data@latest"]
    }
  }
}

Alternatively, you can manually install the program (given you have Go installed ):

go install github.com/dstotijn/mcp-cbs-cijfers-open-data@latest

Usage

$ mcp-cbs-cijfers-open-data --help

Usage of mcp-cbs-cijfers-open-data:
  -http string
        HTTP listen address for JSON-RPC over HTTP (default ":8080")
  -sse
        Enable SSE transport
  -stdio
        Enable stdio transport (default true)

Typically, your MCP host will run the program and start the MCP server, and you don't need to manually do this. But if you want to run the MCP server manually, for instance because you want to serve over HTTP (using SSE):

Given you have your PATH environment configured to include the path named by $GOBIN (or $GOPATH/bin $HOME/go/bin if $GOBIN is not set), you can then run:

mcp-cbs-cijfers-open-data --stdio=false --sse

Which will output startup logs with the SSE transport URL:

CBS API MCP server started, using transports: [sse]
SSE transport endpoint: http://localhost:8080

© 2025 David Stotijn — This project is licensed under the Apache License 2.0

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    4 (1)
    Avatar
    user_nQvqcGAf
    2025-04-16

    As a dedicated user of MCP applications, I find the mcp-cbs-cijfers-open-data to be incredibly valuable. Created by dstotijn, this tool offers seamless access to open data from CBS, making data analysis efficient and straightforward. The GitHub repository provides comprehensive resources that are easy to follow. Highly recommended for anyone working with Dutch statistical data!