schwaizer-opendata-mcp
Verified Safeby ishumilin
Overview
Provides a read-only Model Context Protocol (MCP) server for interacting with Switzerland's open data portal (opendata.swiss, CKAN).
Installation
npm startEnvironment Variables
- BASE_URL
- ENABLE_SQL
- TIMEOUT_MS
- USER_AGENT
- MAX_ROWS
- DEFAULT_ROWS
Security Notes
The server demonstrates strong security practices including comprehensive input validation using Zod, server-side clamping of row limits, and configurable HTTP timeouts. The most sensitive tool, `datastore_search_sql`, is disabled by default (`ENABLE_SQL=false`) and includes basic regex guards against DDL/DML operations if enabled. No 'eval' or obfuscation found. Network calls are primarily to a configurable CKAN API base URL. The `fetchResource` utility, while capable of fetching arbitrary URLs, is not directly exposed as an MCP tool in the provided code, mitigating potential SSRF risks through that pathway.
Similar Servers
KOLADA-MCP
Provides LLMs and AI chatbots with direct access to over 5,000 Key Performance Indicators and statistical data for all 290 Swedish municipalities and 21 regions from the Kolada API.
Kolada-MCP
Facilitates LLM access to comprehensive Swedish municipal and regional statistics from the Kolada API for key performance indicator (KPI) data retrieval and analysis.
ckan-mcp-server
Enables AI agents to interact with CKAN-based open data portals for searching, exploring, and querying datasets, organizations, and tabular data.
ckan-mcp-server
Enables AI agents to interact with CKAN-based open data portals for searching datasets, exploring organizations, and querying tabular data.