MEDAS MCP
MEDAS MCP(まだ開発中!)
TÜİK MEDAS(Turkish Statistical Institute indicators)用のMCPサーバー
特徴
92のトピック — すべてのTÜİK統計カテゴリ
400以上の指標 — 即座にキャッシュ、ライブへのフォールバックも可能
動的検出 — ハードコードされたウィジェットIDは0、UI変更に適応
キャッシュファースト —
list_topics/get_indicators/downloadはすべてキャッシュから50ms未満バイナリXLS — xlwt CDFV2 Excel出力(MEDAS pivot.xlsと同じ形式)
スマートカスケード — 必須の内訳(COICOP、SITCなど)を自動選択
ZK Widget API —
zk.Widget.$().fire()による堅牢なkırılım処理
Related MCP server: evds-mcp-server
インストール
pip install playwright xlwt httpx
playwright install chromiumまたはuvを使用:
uv pip install -e .
playwright install chromium使用方法
MCPサーバーとして(stdio)
python server.pyPi統合
~/.pi/config.json に追加:
{
"extensions": {
"medas": {
"command": "python",
"args": ["/path/to/medas_mcp/server.py"],
"cwd": "/path/to/medas_mcp"
}
}
}Claude Desktop
{
"mcpServers": {
"medas": {
"command": "python",
"args": ["/path/to/medas_mcp/server.py"]
}
}
}ツール
ツール | 説明 | 速度 |
| 92のTÜİKトピックを一覧表示 | <50ms (キャッシュ) |
| 指標とカスケードブランチを取得 | <50ms (キャッシュ) |
| XLS/CSVレポートをダウンロード | <50ms キャッシュ / ~12s ライブ |
フロー例
1. list_topics("fiyat") → [{index:78, label:"Tüketici Fiyat Endeksi"}]
2. get_indicators(78) → {count:12, indicators:[...]}
3. download(78, format="xls") → /tmp/MEDAS_Tüketici_Fiyat_Endeksi_20260820.xlsアーキテクチャ
AI Agent ⇄ MCP (stdio) ⇄ server.py ⇄ medas_client.py
├─ cache (data/*.json) → instant
└─ Playwright (live=true) → ZK AU protocolキャッシュとライブ
モード | ソース | 速度 | データ |
|
| <50ms | 指標名 + モック値 |
|
| ~12s | 実際のMEDASピボットテーブル |
ファイル
medas_mcp/
├── server.py # MCP server (3 tools)
├── medas_client.py # Hybrid client (cache + live Playwright)
├── KNOWHOW.md # ZK AU protocol traffic notes
├── AGENTS.md # AI agent instructions
├── README.md # This file
├── pyproject.toml # Package metadata
├── .gitignore
└── data/
├── topic_mapping.json # 92 topics with URLs
├── topic_gosterge.json # Indicators + cascading branches
└── medas_unified.json # Unified datasetZK AUプロトコル
POST /medas/zkau;jsessionid=XXXをdtid+ バッチ処理されたcmd_n=onSelect/onClickと共に送信ウィジェットIDはセッションごとに変更 — DOMを介して動的に検出
カスケード:
zk.Widget.$('#selectId').fire('onSelect', {items:[itemId], reference:itemId})
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables users to search and access Turkish public procurement data from EKAP v2 portal. Provides comprehensive tender search, detailed tender information, announcements, and authority/classification code lookups through natural language interactions.1294MIT
- FlicenseAqualityCmaintenanceEnables querying Turkish economic data (inflation, FX rates, policy rates, etc.) from TCMB EVDS via curated tools, preventing LLM hallucination.6
- AlicenseNot gradedqualityCmaintenanceEnables querying Kosovo Agency of Statistics (ASKdata) data through PxWeb. Supports navigating subjects, exploring table metadata, and fetching data via natural language or direct tool calls.4MIT
- AlicenseAqualityBmaintenanceProvides unified access to Turkish official data from TÜİK (statistics via SDMX) and TCMB EVDS (financial series), enabling search, query, and tidy CSV export with full frequency, aggregation, and formula support.161MIT
Related MCP Connectors
Macro indicators from World Bank, FRED, IMF, and OECD via unified query surface.
Macro data for AI agents: GDP, inflation, unemployment & trade, any country. No API keys.
Query 29,500+ World Bank development indicators for 200+ countries across 60+ years.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bluedragonDC/medas_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server