Back to Home
dvvbk icon

bdl-mcp-ts

Verified Safe

by dvvbk

Overview

Exposes the Polish Central Statistical Office (GUS) Local Data Bank API as Model Context Protocol (MCP) tools, enabling AI assistants to query statistical data.

Installation

Run Command
npm run dev

Environment Variables

  • BDL_API_BASE_URL
  • DEFAULT_LANGUAGE

Security Notes

The server demonstrates good security practices for an API gateway. It uses Zod for robust input validation, preventing malformed requests and potential injection. Environment variables (BDL_API_BASE_URL, DEFAULT_LANGUAGE) are properly configured via Cloudflare Workers environment, avoiding hardcoded secrets. The use of `crypto.randomUUID()` for session IDs is secure. CORS is set to allow all origins (`*`), which is acceptable for a public API but should be noted. No 'eval' or other directly dangerous patterns were found. Relies on the security of the upstream BDL API.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens500
Stars0
Forks0
Last Update2026-01-19

Tags

Cloudflare WorkersMCP ServerBDL APIStatistical DataAI Tooling