Back to Home
isakskogstad icon

OECD-MCP

Verified Safe

by isakskogstad

Overview

Provides AI assistants access to OECD's 5,000+ economic and statistical datasets via a Model Context Protocol (MCP) server, enabling AI to search, analyze, and compare data.

Installation

Run Command
npx oecd-mcp

Environment Variables

  • PORT
  • NODE_ENV
  • NODE_OPTIONS

Security Notes

The server implements robust input validation using Zod schemas for all tool arguments, preventing common injection attacks. Filter parameters are explicitly sanitized to prevent SSRF (Server-Side Request Forgery) and other malicious inputs. Error messages returned to clients are sanitized to prevent information leakage (e.g., file paths, stack traces, internal IP addresses). Rate limiting is enforced internally for API calls to the OECD SDMX endpoint. Deployment configurations (Docker, Kubernetes) suggest good security practices like read-only filesystems, non-root user execution, and dropped capabilities. A minor potential concern is the default `cors()` middleware in `http-server.ts`, which allows all origins; for production, this should ideally be restricted to specific trusted origins (though typically handled by a proxy/gateway). The `OECDSDMXClient` constructor could theoretically allow an arbitrary `baseUrl`, but the `OECDClient` wrapper, which is used by the MCP server, hardcodes the OECD SDMX base URL, mitigating this risk in practice.

Similar Servers

Stats

Interest Score10
Security Score9
Cost ClassMedium
Avg Tokens2000
Stars1
Forks1
Last Update2025-12-18

Tags

MCPOECDSDMXAIStatistics