A closer look
Diavgeia MCP Server for Greek Government Transparency
An open-source MCP server that gives AI assistants direct access to Diavgeia decisions for search, retrieval, and structured analysis. Built as a serverless edge service on Cloudflare Workers, it supports decision research across appointments, procurement, budgets, and regulatory actions.
Why I built it
To make government transparency data easier to access through AI-native workflows, so citizens, journalists, and researchers can get reliable public-administration insights faster.
Inside the project
- Natural language search across government decisions with advanced filtering
- Comprehensive decision retrieval with PDF content extraction
- Date-aware query parsing supporting both Greek and English (e.g., "last year", "Ιανουάριος 2024")
- Organization and ministry search with automatic name detection
- SSE (Server-Sent Events) transport for real-time AI assistant integration
- Stdio transport protocol support for Claude Desktop integration
- Dual language support (Greek and English) throughout the entire system
- PDF document parsing with first 1000 characters preview
- Structured data validation using Zod schemas
- Comprehensive error handling with user-friendly messages
- Rate limiting and respectful API usage patterns
- MCP Inspector compatibility for testing and debugging
- Cloudflare Workers deployment for global edge performance
- Smithery hosting integration for easy MCP server discovery
- Complete TypeScript type safety across all modules
The stack
TypeScript · Model Context Protocol · Cloudflare Workers · Axios · Zod · Node.js · Pino Logger · PDF Processing · Biome · Lefthook · Day.js
