Mk Data MCP
A MCP Server for data access from Macedonian Institutions
Ask AI about Mk Data MCP
Powered by Claude Β· Grounded in docs
I know everything about Mk Data MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π²π° mk-data-mcp
Bridging the Gap Between AI Agents and Macedonian Public Data
The Macedonian Public Data MCP Server is a standardized data wrapper for official Macedonian government institutional APIs. It allows AI models (like Claude, GPT, and Gemini) to move beyond their training data by providing real-time, authoritative access to public records through the Model Context Protocol (MCP).
π― Vision & Mission
The goal of this project is to provide a universal, standardized interface for public Macedonian data. By exposing these datasets as MCP Tools, any AI agent or client can easily query and consume them, empowering:
- Data Scientists: To access clean, structured datasets for analysis and visualization.
- Journalists & Students: To fact-check and analyze trends in Macedonia.
- Citizens: To easily access public information without navigating complex government portals.
- Public Administration: To support evidence-based decision-making.
π Core Functionalities
- Natural Language Querying: Users can ask questions like "What was the unemployment rate in the last 10 years?" and the AI will use the correct tool to fetch the answer.
- Dataset Discovery: Search and browse datasets from multiple official sources.
- Data Normalization: Varied source formats (CSV, XLS, multi-dimensional JSON) are transformed into a unified, flat JSON schema.
- Source Attribution: Responses always include original source URLs and metadata, ensuring transparency.
- Remote Transport: Optimised for serverless environments with HTTP/SSE transport.
π Primary Data Sources
The server integrates with established government repositories:
- MakStat (State Statistical Office): The authoritative source for population, demographics, and economic statistics.
- data.gov.mk (National Open Data Portal): A decentralized repository for government datasets across health, education, transport, and more.
- [Future Integrations]: Planned support for Open Finance, legislative data from Sobraine (Assembly), and municipal portals.
ποΈ System Architecture
Built on the Remote MCP Server paradigm, the project leverages modern web technologies for scalability and performance.
Technical Stack:
- Framework: Next.js 16 (App Router)
- Language: TypeScript (Strict mode)
- SDK:
@modelcontextprotocol/sdk - Transport: HTTP / Server-Sent Events (SSE)
- Styling: Tailwind CSS 4 & Shadcn/UI
- Deployment: Optimized for Vercel (Serverless)
Request Pipeline:
- Tool Invocation: Client triggers a tool (e.g.,
get_makstat_demographics). - Upstream Request: Server fetches live data from official government APIs.
- Normalization: Raw data is processed into a standardized JSON format.
- Response: Clean results are returned to the AI client.
π οΈ Available Tools
| Tool Name | Description | Status |
|---|---|---|
multiply | A utility tool used for testing (multiplies two numbers). | β Stable |
get_mak_stat | (Planned) Fetch statistical tables from MakStat. | π§ In Progress |
search_data_gov | (Planned) Search datasets on the Open Data Portal. | π§ In Progress |
π¦ Getting Started
Local Development
-
Clone the repository:
git clone https://github.com/stefantrajanov/mk-data-mcp.git cd mk-data-mcp -
Install dependencies:
npm install # or bun install -
Run the development server:
npm run dev # or bun dev -
Access the MCP endpoint: The server listens on
http://localhost:3000/api/mcp.
Deployment
The project is designed to be deployed to Vercel with zero configuration. It uses the Next.js Edge Runtime for high-performance, stateless execution.
π‘ Connecting to Your AI Client
To use this server in your preferred MCP client (like Claude Desktop or Cursor), point the client to the SSE endpoint:
"mcpServers": {
"mk-data-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mk-data-mcp.vercel.app/api/mcp/mcp"]
}
},
For local testing, use: http://localhost:3000/api/mcp/mcp
β¨ Design Principles
The project's UI/UX (for future dashboards/visualizations) follows:
- Typography: Inter (Modern sans-serif) for high readability.
- Aesthetics: High-contrast slate text, subtle gradients, and reactive micro-animations.
- Interoperability: Full compatibility with the official MCP SDK and modern AI interfaces.
π License
This project is licensed under the MIT License. See the LICENSE file for details.
