Datasaudi Mcp

io.github.mohsinmshabbir由 GitHub 帳號 mohsinmshabbir 發布v0.1.0更新於 Nov 3, 2026

Saudi economic & social statistics (GASTAT/DataSaudi) in English or Arabic. Keyless, no database.

概覽

AI 產生的概覽

讓助理以英文或阿拉伯文檢索並查詢 277 個沙烏地 GASTAT/DataSaudi 官方統計資料集,無需 API 金鑰。

可以做什麼
  • 以英文或阿拉伯文關鍵字檢索 277 個資料集目錄
  • 檢視單一資料集的細分維度與量值
  • 執行經驗證的查詢,回傳整理好的資料列,並回顯查詢語句、支援分頁
  • 涵蓋經濟、社會與房地產指標,例如 GDP、CPI、貿易、人口與房地產價格指數
適用情境
適合以自然語言詢問沙烏地經濟與社會資料——GDP、通膨、貿易、人口、薪資、房地產價格指數——由助理找出對應的官方資料集並取回即時數字,也支援以阿拉伯文提問。
執行需求
透過 uvx 以 stdio 在本機執行,需安裝 uv 並加入 PATH。無需 API 金鑰、帳號或環境變數;每次查詢都需要連線至 DataSaudi API 的網路存取。
安裝前請注意
查詢會送往由經濟與規劃部營運的 DataSaudi 即時 API,請求會離開本機;只有資料集目錄快取於記憶體中。涵蓋範圍為省級的主要指標,不含逐筆成交價格或微觀資料。資料使用條款由營運方訂定,使用前應自行確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Datasaudi Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

datasaudi-mcp

Ask Claude, Cursor, or any MCP client about the Saudi economy — in plain English or Arabic. No API key. No database.

[PyPI] [MCP Registry] [License: MIT] [Python 3.12+] [CI]


Ask it  ·  Coverage  ·  Install  ·  العربية  ·  Tools


GDP, inflation, trade, population, the real‑estate price index — 277 official GASTAT datasets, live from DataSaudi, answered right inside your AI client. You never name a dataset; the model finds it.

Here it is in Claude Desktop — one plain‑English question, and the model finds the dataset, pulls Riyadh's real‑estate price index against the national trend, and charts it:

[datasaudi-mcp answering a question in Claude Desktop]


Ask it anything

Connect it in about 2 minutes (Install), then just ask:

💬  "What was the real‑estate price index in Riyadh by quarter, and how does it compare to the national trend?"

💬  "Who are Saudi Arabia's top trading partners? Break foreign trade down by country and exports vs. imports."

🇸🇦  "اعرض الرقم القياسي لأسعار العقارات في الرياض حسب الربع"   — ask in Arabic, get Arabic back (الرياض, مكة المكرمة). See Arabic support.

The model discovers the right dataset, pulls the numbers, and answers. You don't need to know any dataset names or query syntax.

More example prompts
  • "Show me inflation and the CPI by province for the latest year — which regions were highest?"
  • "How has the real‑estate price index differed between villas and apartments over time?"
  • "What's the population by province, split by sex and nationality (Saudi vs. non‑Saudi)?"
  • "Show me real GDP by economic sector, quarter over quarter, with year‑on‑year growth."
  • "Compare average monthly wages: Saudi vs. non‑Saudi, and men vs. women."

What you can ask about

277 curated GASTAT / DataSaudi datasets. Every query hits the live API, so the numbers are as current as GASTAT publishes.

📈 Economy

GDP (sector / expenditure / activity), CPI & inflation (national + by province), the Producer Price Index, FDI, foreign trade (country / product / flow), the trade balance, business & consumer confidence.

👥 Society

Population (province / sex / nationality / age), households & dwellings, wages, employment & participation rates, education, health, disability.

🏗️ Real estate

The price index by province and property type (villa / apartment / land), building permits, the construction cost index, housing tenure & type.

🌍 More

Tourism & hotel occupancy, energy & water, Hajj & Umrah, SAMA financial series, internationally‑reported (World Bank / UN) indicators.

[!IMPORTANT] Where it stops — on purpose. A data tool you can trust tells you its edges.

  • Serves the real‑estate price index (base‑year 100) — not per‑deal prices in riyals (those live in MoJ / Srem).
  • No MoJ transaction volumes, no REGA, no municipal / ZATCA / CMA data, no microdata. This is the ~277‑series headline‑indicator layer, not the full national corpus.
  • Geographic detail stops at the province level for most series — no city / district breakdown.

Ask for something outside this and the server says so plainly, rather than guessing.


Install

No API key, nothing to configure — DataSaudi is keyless. You'll need uv installed.

Claude Code — one line, no file editing:

bash
claude mcp add datasaudi -- uvx datasaudi-mcp
Claude Desktop

Settings → Developer → Edit Config, add the block below, then completely quit and reopen Claude Desktop (fully quit from the tray — not just close the window):

json
{  "mcpServers": {    "datasaudi": {      "command": "uvx",      "args": ["datasaudi-mcp"]    }  }}
Cursor

Settings → Tools & MCP → New MCP Server (or edit ~/.cursor/mcp.json), same block:

json
{  "mcpServers": {    "datasaudi": {      "command": "uvx",      "args": ["datasaudi-mcp"]    }  }}

Then ask one of the questions above.


Arabic support

Saudi data in Arabic, as a first‑class feature — not an afterthought.

  • Ask in Arabic, get Arabic back. Member names return in Arabic script: الرياض for Riyadh, مكة المكرمة for Makkah, المنطقة الشرقية for the Eastern Region.
  • Catalog search works in Arabic too — an Arabic term matches the datasets' Arabic topic / source annotations.
  • Numbers and structure are identical across languages — only the human‑readable captions change.

The tools

Three tools do the work; the model calls them for you.

ToolWhat it does
list_cubesSearch the 277‑dataset catalog by keyword (English or Arabic).
describe_cubeShow one dataset's breakdown dimensions and measures.
query_cubeRun a validated query and return tidy rows — with the query echoed back and honest paging.
Troubleshooting — "datasaudi" doesn't show up
  • Did you fully quit and reopen the app? (Closing the window isn't enough — quit from the tray.)
  • Is your config valid JSON? A stray comma breaks the whole file — paste it into a JSON validator.
  • Is uv installed and on your PATH? Run uvx --version in a terminal.
  • Check the client's MCP / tools panel for an error message next to datasaudi.
Data source & freshness

Data comes live from api.datasaudi.sa (the DataSaudi Tesseract API, operated by the Ministry of Economy & Planning; data produced by GASTAT). The server holds no local copy — every query is fetched fresh, so results are always as current as DataSaudi itself. Only the lightweight dataset catalog is cached in memory for the session.

DataSaudi's data‑usage terms are set by its operator; this project is an independent open‑source client and attributes GASTAT / MEP as the source. Please review DataSaudi's terms for your use case.


Contributing

Contributions welcome — see CONTRIBUTING.md. To develop locally:

bash
git clone https://github.com/mohsinmshabbir/datasaudi-mcpcd datasaudi-mcpuv sync --all-extrasuv run pytest -m "not live"    # offline test suiteuv run pytest -m live          # optional: hits the real API

License

MIT — see LICENSE.

來源:README.md,提交 692c9b0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分