Back to Home
jtwolfe icon

oparl-mcp-server

Verified Safe

by jtwolfe

Overview

Provides AI models and applications with structured access to OParl parliamentary data APIs via the Model Context Protocol.

Installation

Run Command
docker run -p 8000:8000 -e OPARL_BASE_URL=https://api.oparl.org -e OPARL_API_KEY=your-api-key oparl-mcp-server

Environment Variables

  • OPARL_BASE_URL
  • OPARL_API_KEY

Security Notes

The server uses `pydantic_settings` for configuration, allowing API keys to be loaded securely from environment variables or `.env` files, rather than being hardcoded. It integrates with `httpx` for making asynchronous API calls to external OParl APIs, with timeouts configured. There is no usage of `eval` or similar dangerous functions that could lead to immediate remote code execution. The system relies on an `oparl_openapi.json` file for its API definition; ensuring this file is trusted is important. Outbound network requests are fundamental to its operation, so the security of the target OParl API is an external dependency. Overall, the codebase appears to follow good security practices for its architectural pattern.

Similar Servers

Stats

Interest Score30
Security Score8
Cost ClassLow
Avg Tokens200
Stars1
Forks0
Last Update2025-12-15

Tags

oparlparliamentary-dataai-integrationmcp-serverrest-api-adapter