Statistical Centre of Iran MCP Server
Read-only Statistical Centre of Iran (amar.org.ir): CPI inflation, unemployment, census, any table.
Statistical Centre of Iran scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It declares 12 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "sepehr071-amar-mcp": { "command": "uvx", "args": [ "amar-mcp" ], "env": { "AMAR_MCP_PROXY": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
AMAR_MCP_PROXY | Optional | Optional HTTP proxy URL for the amar.org.ir requests; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next. |
Tools12Tool docs quality grade C
All capabilitiesam_calendartoolThe publishing calendar: which statistic comes out on which day of a month
am_gdptoolGDP growth by quarter or year with agriculture, industry, oil and gas, services; levels in billion rials
am_indicatorstoolThe monthly macro workbook (newest release that has an Excel file): trade, housing price and rent, money, budget, household spending, Gini, CPI by decile and province, energy, stock market
am_inflationtoolOfficial CPI index and inflation per month (monthly, point-to-point, 12-month average) by household region, CPI group or province
Compare inflation across CPI groups (food, housing, transport...) for one month
am_labour_forcetoolUnemployment, youth unemployment and participation rates by quarter, total, urban and rural
am_newstoolLatest news and press releases of the Centre, or the text of one item
am_populationtoolPopulation and households by province, or by county in one province, from the 1395 census
am_ppitoolProducer price index by quarter and sector (index, quarterly, year-on-year, 4-quarter average)
am_releasetoolOne release: topic, period and its Excel, PDF and Word files
am_searchtoolSearch the portal's releases by Persian title words, year, frequency, type and topic (a year, frequency or kind alone searches the portal's own releases)
am_tabletoolRead any Excel table of a release as compact rows (sheet list, filter, paging)
About
amar-mcp: Statistical Centre of Iran (مرکز آمار ایران) inflation, unemployment and census MCP server
amar-mcp is an unofficial, read-only MCP server that gives AI agents the official numbers of the Statistical Centre of Iran (amar.org.ir). Its 12 tools return the consumer price index and inflation (monthly, year-on-year, 12-month average, by CPI group, household region and province), unemployment and participation rates, GDP growth, producer prices, the monthly macro-indicators workbook (trade, housing price and rent, money, budget, household income and spending, CPI by decile), census population by province and county, news, the publishing calendar, and any Excel table of any release. No API key or account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
For AI agents · Quick start · Tools · FAQ · فارسی
For AI agents
- What: unofficial MCP server (model context protocol) for amar.org.ir, Iran's national statistics portal: official CPI and inflation, labour force survey rates, census 1395 population, the release catalog and calendar, and a reader for the portal's Excel tables.
- Install:
uvx amar-mcporclaude mcp add amar -- uvx amar-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none. Optional
AMAR_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored. - Access: read-only. It cannot log in or change anything, so no confirmation is needed before calling any tool.
- Network: amar.org.ir answers only from inside Iran (it drops foreign IPs), so run the server on an Iranian connection or set
AMAR_MCP_PROXYto an Iranian proxy. - Tools: 12, all prefixed
am_. Typical sequences:am_inflation->am_inflation_groups;am_gdp,am_ppi;am_indicators(topic -> table);am_search->am_release->am_table;am_calendarfor "when is the next release". - Use when: the user asks what Iran's official inflation, CPI, unemployment or population is, what drives inflation (food, housing...), how a province compares, when the Statistical Centre publishes something, or wants any table from amar.org.ir.
- Do not use when: the user wants central-bank data, exchange or gold prices (other servers cover those), or live market data. The monthly CPI Excel series trails the PDF report by about a week;
am_inflationflags this innewer_reportand reads the newer month's national figures from the PDF. - Output: compact JSON. Periods are Jalali (
1405-06= Shahrivar 1405). Percentages are percent. Names and titles are Persian as the Centre has them. - Machine-readable:
server.json.
Example
You: What is Iran's official inflation, and what drives it?
Agent: calls
am_inflation()andam_inflation_groups()For Shahrivar 1405 the Statistical Centre reports 4.24% monthly, 89.8% year-on-year and 73.6% for the 12-month average. Food and tobacco rose 122% year-on-year, transport 115%, housing 38%.
Numbers from a live call on 2026-11-01.
Other prompts: "unemployment rate by quarter", "population of Yazd province and its counties", "inflation in Fars province", "when is the next CPI release", تورم نقطه به نقطه مسکن شهری چقدر است؟, نرخ بیکاری آخرین فصل؟
Quick start
You need uv. No API key or account.
Claude Code: claude mcp add amar -- uvx amar-mcp
Claude Desktop, Cursor, Windsurf, Gemini CLI: add
{
"mcpServers": {
"amar": { "command": "uvx", "args": ["amar-mcp"] }
}
}
VS Code: .vscode/mcp.json with {"servers": {"amar": {"type": "stdio", "command": "uvx", "args": ["amar-mcp"]}}}.
Codex CLI: codex mcp add amar -- uvx amar-mcp. Anything else: uvx amar-mcp, or pip install amar-mcp and run amar-mcp.
Tools
| Tool | What it does |
|---|---|
am_inflation | Official CPI index and inflation per month (monthly, point-to-point, 12-month average) by household region, CPI group or province |
am_inflation_groups | Compare inflation across CPI groups (food, housing, transport...) for one month |
am_labour_force | Unemployment, youth unemployment and participation rates by quarter, total, urban and rural |
am_population | Population and households by province, or by county in one province, from the 1395 census |
am_search | Search the portal's releases by Persian title words, year, frequency, type and topic (a year, frequency or kind alone searches the portal's own releases) |
am_release | One release: topic, period and its Excel, PDF and Word files |
am_table | Read any Excel table of a release as compact rows (sheet list, filter, paging) |
am_calendar | The publishing calendar: which statistic comes out on which day of a month |
am_gdp | GDP growth by quarter or year with agriculture, industry, oil and gas, services; levels in billion rials |
am_ppi | Producer price index by quarter and sector (index, quarterly, year-on-year, 4-quarter average) |
am_indicators | The monthly macro workbook (newest release that has an Excel file): trade, housing price and rent, money, budget, household spending, Gini, CPI by decile and province, energy, stock market |
am_news | Latest news and press releases of the Centre, or the text of one item |
All 12 tools are annotated readOnlyHint: true.
FAQ
Why does it fail from outside Iran? amar.org.ir does not answer foreign IPs. Run it on an Iranian connection or set AMAR_MCP_PROXY.
Why is the newest month missing in am_inflation? The Centre publishes a PDF report first and updates the Excel series about a week later. The answer's newer_report names that release (use am_release for the PDF link); it also carries that month's national index and inflation, read from the PDF.
Are these the same as central-bank figures? No. These are the Statistical Centre's figures; the Central Bank of Iran publishes its own.
Is it affiliated with the Centre? No. It reads public pages and files, no login.
فارسی
amar-mcp یک سرور MCP غیررسمی و فقطخواندنی برای درگاه ملی آمار (مرکز آمار ایران، amar.org.ir) است. با آن میتوانید تورم و شاخص قیمت مصرفکننده (ماهانه، نقطهبهنقطه، متوسط ۱۲ ماه؛ به تفکیک گروه کالا، مناطق شهری و روستایی و استان)، نرخ بیکاری و مشارکت، جمعیت استانها و شهرستانها در سرشماری ۱۳۹۵، تقویم انتشار و هر جدول اکسل منتشرشده را بپرسید.
نصب: claude mcp add amar -- uvx amar-mcp (نیاز به uv). درگاه مرکز آمار فقط از داخل ایران پاسخ میدهد؛ سرور را روی اینترنت ایران اجرا کنید یا AMAR_MCP_PROXY را روی یک پروکسی ایرانی بگذارید.
Author: Sepehr Radmard (سپهر رادمرد), github.com/sepehr071, linkedin.com/in/sepehr-radmard.
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیتهاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخههای پیش از 0.2.2 با مجوز MIT منتشر شدهاند و همان مجوز را دارند.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.2.2 were released under MIT and stay under it.
Frequently asked questions
What is Statistical Centre of Iran MCP Server?
Read-only Statistical Centre of Iran (amar.org.ir): CPI inflation, unemployment, census, any table.
How do I install Statistical Centre of Iran MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Statistical Centre of Iran MCP Server runs locally from the PyPI package amar-mcp with the command uvx amar-mcp.
Is Statistical Centre of Iran MCP Server free and open source?
Yes. Statistical Centre of Iran MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Statistical Centre of Iran MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Statistical Centre of Iran MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Statistical Centre of Iran MCP Server provide?
Statistical Centre of Iran MCP Server provides 12 tools, including am_calendar, am_gdp, am_indicators, and am_inflation. See the full tool list for descriptions and parameters.
How is Statistical Centre of Iran MCP Server's trust score calculated?
Statistical Centre of Iran MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.