Back to Home
ishumilin icon

schwaizer-bfs-mcp

Verified Safe

by ishumilin

Overview

Accessing, searching, and retrieving statistical data from the Swiss Federal Statistical Office (BFS) through various APIs.

Installation

Run Command
npm start

Environment 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

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars0
Forks0
Last Update2025-11-20

Tags

MCPBFSSwiss StatisticsData APIOpen Data