Back to Home
ishumilin icon

schwaizer-opendata-mcp

Verified Safe

by ishumilin

Overview

Provides a read-only Model Context Protocol (MCP) server for interacting with Switzerland's open data portal (opendata.swiss, CKAN).

Installation

Run Command
npm start

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-11-20

Tags

MCPCKANOpen DataSwitzerlandAPI Client