datasaudi-mcp
The server provides access to 277 official Saudi economic and social datasets from GASTAT/DataSaudi via three tools, supporting both English and Arabic — no API key required.
Core Tools
list_cubes— Search the dataset catalog by keyword (English or Arabic), scope, and page through results.describe_cube— Inspect a dataset's dimensions, measures, and members (e.g., list all provinces) in English or Arabic.query_cube— Retrieve live data by specifying drilldowns, measures, filters (cuts by member ID), and pagination. Results are capped at 5,000 rows per call.
Topic Coverage
📈 Economy: GDP (by sector/expenditure/activity), CPI & inflation, Producer Price Index, FDI, foreign trade, business & consumer confidence
👥 Society: Population (by province, sex, nationality, age), wages, employment, education, health
🏗️ Real Estate: Price index by province & property type, building permits, construction cost index
🌍 More: Tourism, energy & water, Hajj & Umrah, SAMA financial series, World Bank/UN indicators
Key Features
Bilingual: query and receive results in English or Arabic (e.g.,
الرياض,مكة المكرمة)Always live: every query hits the real DataSaudi API for up-to-date figures
Focuses on headline/aggregate indicators — no granular transactional or city/district-level data
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@datasaudi-mcpWhat is Saudi Arabia's current GDP?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
datasaudi-mcp
Ask Claude, Cursor, or any MCP client about the Saudi economy — in plain English or Arabic. No API key. No database.
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:

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.
"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."
Related MCP server: Morocco Open Data MCP
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.
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:
claude mcp add datasaudi -- uvx datasaudi-mcpSettings → Developer → Edit Config, add the block below, then completely quit and reopen
Claude Desktop (fully quit from the tray — not just close the window):
{
"mcpServers": {
"datasaudi": {
"command": "uvx",
"args": ["datasaudi-mcp"]
}
}
}Settings → Tools & MCP → New MCP Server (or edit ~/.cursor/mcp.json), same block:
{
"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.
Tool | What it does |
| Search the 277‑dataset catalog by keyword (English or Arabic). |
| Show one dataset's breakdown dimensions and measures. |
| Run a validated query and return tidy rows — with the query echoed back and honest paging. |
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
uvinstalled and on your PATH? Runuvx --versionin a terminal.Check the client's MCP / tools panel for an error message next to
datasaudi.
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:
git clone https://github.com/mohsinmshabbir/datasaudi-mcp
cd datasaudi-mcp
uv sync --all-extras
uv run pytest -m "not live" # offline test suite
uv run pytest -m live # optional: hits the real APILicense
MIT — see LICENSE.
Maintenance
Latest Blog Posts
- 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/mohsinmshabbir/datasaudi-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server