MCP.so
Sign In
I

Israel Statistics Mcp Server

@reuvenaor

About Israel Statistics Mcp Server

Programmatic access to the Israeli Central Bureau of Statistics (CBS) price indices and economic data. Built with TypeScript, this server offers 9 comprehensive tools for retrieving, analyzing, and calculating Israeli economic statistics.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "israel-mcp-npx": {
      "command": "npx",
      "args": [
        "@reuvenorg/israel-statistics-mcp"
      ]
    }
  }
}

Tools

9

Browse or search the full CBS catalog tree of price-index topics and codes. The best starting point for keyword discovery (e.g. searchText='bread' or 'housing'). Returns chapters with their subjects and index codes; feed a codeId into get_index_data or get_index_calculator. Hebrew is the default language — pass lang='en' for English names.

Retrieve the historical time series for one index code (from get_subject_codes or get_index_topics). Periods use mm-yyyy (e.g. startPeriod='01-2020', endPeriod='12-2024'); use last=N for just the most recent N points; coef=true adds chaining coefficients to previous base periods. Housing indices (codes 18xxxx) are bi-monthly with provisional recent values — the summary warns when that matters.

List all CBS index chapters (a=Consumer Price Index, aa=Housing Market, b/ba/bb=Producer Prices, c/ca=Building Inputs, d=Road Construction, e=Agriculture, f/fa=Bus & Minibus Inputs, plus any newly added). This is the authoritative chapter list — use a chapterId with get_chapter_topics or get_all_indices.

List the subjects/topics inside one chapter (chapterId from get_catalog_chapters, e.g. 'aa' for the housing market). Returns subjectIds for get_subject_codes; code arrays may be null at this level — that is normal, drill down via get_subject_codes.

List the concrete index codes for one subject/topic (subjectId from get_chapter_topics or get_index_topics), optionally filtered by searchText. Each code includes its date coverage and update frequency — use codeId with get_index_data or get_index_calculator.

Inflation-adjust a monetary amount between two dates using a specific index (the official CBS linkage calculator). Dates: use yyyy-mm-dd (recommended, e.g. '2020-01-15'); dd-mm-yyyy is auto-corrected only when unambiguous (day>12) — otherwise it is read as the CBS mm-dd-yyyy convention. Some series (e.g. 110050) legitimately return null coefficient bounds. For housing indices, avoid toDate values inside the provisional window flagged in the summary. Use indexCode 120010 for general CPI.

Current snapshot of the headline CBS indices (general CPI, housing, producer prices, …) with values across base periods and the last monthly percent change. No parameters required; oldFormat=true switches to the legacy layout.

Headline indices over a month range. Dates use compact yyyymm (startDate='202401', endDate='202403'); the range must start no earlier than 199701 and endDate must not precede startDate. Results come both as a flat list and grouped by month.

The complete current-month index tree, optionally filtered to one chapter (e.g. chapter='aa' for housing — the summary then carries the bi-monthly/provisional caveat). Large payload: prefer chapter filtering. The indices field mirrors the raw CBS XML structure (values arrive as string arrays).

Overview

What is Israel Statistics MCP Server?

A Model Context Protocol (MCP) server that provides programmatic access to the Israeli Central Bureau of Statistics (CBS) price indices and economic data. Built with TypeScript, it offers 8 comprehensive tools for retrieving, analyzing, and calculating Israeli economic statistics.

How to use Israel Statistics MCP Server?

Install via Docker (recommended) or npx, then add to your MCP client configuration. For Claude Desktop, run claude mcp add --scope project israel-statistics-mcp npx @reuvennaor85/israel-statistics-mcp. Use the 8 available tools like get_index_data and get_index_calculator to query CBS API endpoints.

Key features of Israel Statistics MCP Server

  • Consumer Price Index and Housing Market Index access
  • Price Linkage Calculator for inflation adjustments
  • Type-safe Zod schema validation for all inputs/outputs
  • Built-in rate limiting (5 concurrent operations max)
  • XML/JSON transformation from CBS API formats
  • Housing market bi-monthly data warnings

Use cases of Israel Statistics MCP Server

  • Retrieve historical Consumer Price Index data for economic analysis
  • Calculate inflation-adjusted values using the price linkage calculator
  • Browse and search all available CBS index categories and chapters
  • Analyze housing market indices with automatic bi-monthly period warnings
  • Fetch current main economic indices for reporting or dashboards

FAQ from Israel Statistics MCP Server

What data sources does Israel Statistics MCP Server use?

It connects directly to the Israel Central Bureau of Statistics (CBS) public API to retrieve price indices, housing data, producer price indices, and specialized economic statistics.

What are the runtime requirements?

Requires Node.js (for npx) or Docker. The server is written in TypeScript and uses @modelcontextprotocol/sdk, zod, node-fetch, and xml2js.

Does it support both JSON and XML responses?

Yes, the server handles XML responses from the CBS API and transforms them into JSON format for the MCP client.

Are there any rate limits or security features?

Yes, the server enforces a maximum of 5 concurrent operations, validates all inputs via Zod schemas, uses URL allowlisting, and sets a 30-second HTTP timeout.

What transport does it use?

The server implements the Model Context Protocol (MCP) standard. No specific transport (stdio/SSE) is mentioned, but it is designed for MCP-compatible clients.

Frequently asked questions

What data sources does Israel Statistics MCP Server use?

It connects directly to the Israel Central Bureau of Statistics (CBS) public API to retrieve price indices, housing data, producer price indices, and specialized economic statistics.

What are the runtime requirements?

Requires Node.js (for npx) or Docker. The server is written in TypeScript and uses `@modelcontextprotocol/sdk`, `zod`, `node-fetch`, and `xml2js`.

Does it support both JSON and XML responses?

Yes, the server handles XML responses from the CBS API and transforms them into JSON format for the MCP client.

Are there any rate limits or security features?

Yes, the server enforces a maximum of 5 concurrent operations, validates all inputs via Zod schemas, uses URL allowlisting, and sets a 30-second HTTP timeout.

What transport does it use?

The server implements the Model Context Protocol (MCP) standard. No specific transport (stdio/SSE) is mentioned, but it is designed for MCP-compatible clients.

Comments

More Other MCP servers