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 分