schwaizer-bfs-mcp
Verified Safeby ishumilin
Overview
Accessing, searching, and retrieving statistical data from the Swiss Federal Statistical Office (BFS) through various APIs.
Installation
npm startEnvironment Variables
- BFS_PXWEB_BASE_URL
- BFS_DAM_BASE_URL
- BFS_SSE_BASE_URL
- BFS_REQUEST_DELAY
- BFS_MAX_RETRIES
- BFS_CACHE_TTL
- LOG_LEVEL
Security Notes
The server uses Zod for robust input validation for all MCP tools, which significantly mitigates risks of malformed input or injection attacks. API base URLs are configurable via environment variables, preventing hardcoded secrets for external services. API clients (ky and fetch) include retry logic and timeouts for resilience. Logging is structured and directed to STDERR, keeping STDOUT clean for MCP communication. There are no obvious signs of 'eval', code obfuscation, or malicious patterns. Security relies on the integrity of the underlying BFS APIs.
Similar Servers
us-census-bureau-data-api-mcp
The MCP Server provides a standardized API for AI assistants (LLMs) to access and process U.S. Census Bureau data and geography information, enabling data retrieval and analysis through an agent-like interface.
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.
OpenFoodFacts-MCP
Provides contextual information and specialized tools for Open Food Facts data and development tasks to AI-powered development tools using the Model Context Protocol.
mcp-server-examples
This server provides a collection of example Model Context Protocol (MCP) servers, demonstrating integration with various external data sources and smart home devices (Philips HUE, Austrian public data like Linz Innovationshaupplatz, klimaaktiv funding, Firmenbuch, and legal texts).