home / mcp / datagov israel mcp server

DataGov Israel MCP Server

MCP server for Israel Government Data

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "aviveldan-datagov-mcp": {
      "command": "fastmcp",
      "args": [
        "dev",
        "server.py"
      ],
      "env": {
        "YOUR_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

You can run this MCP server to interact with the Israeli Government Public API, explore thousands of public datasets, and generate visualizations directly from the data via CKAN tools and visualization endpoints.

How to use

You will use an MCP client to connect to this server. Start by running the server locally, or install it into a client environment such as Claude Desktop to access tools for searching datasets, profiling data, and creating charts or maps. You can also test the server with an interactive inspector to browse tools, try different parameters, and view real-time responses.

How to install

Prerequisites: you need Python development tools and the uvx package manager for fast dependency management.

# Clone the project
git clone https://github.com/aviveldan/datagov-mcp.git
cd datagov-mcp

# Create and activate a virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install in editable/development mode
uv pip install -e ".[dev]"

Install into Claude Desktop and run tests

To install the server directly into Claude Desktop, use the following command. After the installation finishes, restart Claude Desktop to access the DataGovIL tools.

fastmcp install claude-desktop server.py

Test and explore with MCP Inspector

You can launch the interactive inspector to browse tools, test tool calls with different parameters, view responses in real time, and debug issues.

fastmcp dev server.py

What you can do with the server

Use the Core CKAN tools to search datasets, view dataset details, and inspect organizations. Generate visualizations such as charts and maps from geographic data. Access datasets, resources, and datastores, and fetch data conveniently for further analysis.

Available tools

status_show

Get CKAN version and installed extensions.

license_list

List all available licenses for datasets.

package_list

Get a list of all dataset IDs.

package_search

Search datasets with filters such as query, filters, and sort order.

package_show

Get detailed metadata for a specific dataset.

organization_list

List all organizations.

organization_show

Get details about a specific organization.

resource_search

Search for resources within datasets.

datastore_search

Search data within a datastore resource.

fetch_data

Convenience tool to fetch data from a dataset by name.

dataset_profile

Profile a dataset to understand its structure and quality.

chart_generator

Generate interactive Vega-Lite charts from a resource.

map_generator

Generate interactive maps from geographic data.