DataGov Israel MCP Server

DataGov Israel MCP Server

datagov-mcp•byaviveldan

An MCP server for exploring Israeli government open data from data.gov.il, with built-in interactive visualizations.

License: MIT•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches, lists, and retrieves metadata for datasets and organizations on the data.gov.il open data portal.
  • •Queries data within a specific dataset resource and offers a convenience tool to find a dataset by name and fetch its data.
  • •Profiles a dataset to reveal field types and statistics such as min, max, mean, null count, and unique values, displayed as an interactive table.
  • •Generates interactive charts and plots geographic data on Leaflet maps.

BEST FOR

  • •Exploring the Israeli housing market through public housing and lottery datasets.
  • •Visualizing public infrastructure such as education institutions and transport stations on maps.
  • •Comparing categories or distributions in government data using bar, histogram, line, and scatter charts.

ABOUT DATAGOV-MCP

DataGov Israel MCP Server is cataloged as an MCP server attributed to aviveldan. An MCP server for exploring Israeli government open data from data.gov.il, with built-in interactive visualizations. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for DataGov Israel MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What chart types can the chart generator produce?

It supports histogram, bar, line, and scatter charts.

Upstream README

View this exact version on GitHub

README.md · 31143d307768 · Fetched 2026-11-13 09:32:07 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

DataGov Israel MCP Server

An MCP server for exploring Israeli government open data (data.gov.il) — with built-in interactive visualizations powered by MCP Apps.

Search thousands of public datasets, profile their structure, generate charts, and plot geographic data on maps — all from your AI assistant.

Tests Python 3.10+ License: MIT


What Can You Do With This?

🏠 Explore the Housing Market

Profile public housing datasets to understand unit sizes, locations, and availability:

Dataset Profile — Public Housing

See which cities have the most demand in government housing lotteries:

Housing Lottery Subscribers by City

Understand the distribution of apartment sizes across the country:

Distribution of Public Housing Unit Sizes

Track housing unit availability over time:

Housing Units Available per Lottery

🗺️ Map Public Infrastructure

Visualize education institutions across Israel:

Education Institutions Map

Plot public transport stations:

Public Transport Stations


Quick Start

Installation

git clone https://github.com/aviveldan/datagov-mcp.git
cd datagov-mcp

# Create virtual environment and install (requires uv)
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -e ".[dev]"

Using with Claude Desktop

fastmcp install claude-desktop server.py

Restart Claude Desktop — you'll see the DataGovIL tools available immediately.

Try It with the MCP Inspector

fastmcp dev inspector server.py

This opens a web UI where you can browse tools, test them interactively, and preview MCP App visualizations in the Apps tab.

Using with fastmcp dev apps

Preview the interactive visualization apps locally:

fastmcp dev apps server.py

Example: Finding Real Estate Opportunities

Here's a real workflow for someone exploring the Israeli housing market:

You: "Search for discounted housing lottery datasets"

→ package_search(q="דירה בהנחה")
  Found: "נתונים תקופתיים - תכנית דירה בהנחה" (Discounted Housing Program)
  Resource ID: 7c8255d0-49ef-49db-8904-4cf917586031

You: "Profile this dataset so I can understand what fields are available"

→ dataset_profile(resource_id="7c8255d0-49ef-49db-8904-4cf917586031")
  Shows: LamasName (city), Subscribers, Winners, PriceForMeter,
         LotteryHousingUnits, ProjectName, Neighborhood...

You: "Show me which cities have the most subscribers competing for units"

→ chart_generator(
    resource_id="7c8255d0-49ef-49db-8904-4cf917586031",
    chart_type="bar",
    x_field="LamasName",
    y_field="Subscribers",
    title="Housing Lottery Subscribers by City"
  )
  → Interactive bar chart rendered in MCP Apps UI

You: "Now show the public housing units — map them and show me sizes"

→ dataset_profile(resource_id="c3a68837-9b7a-4ee7-bd92-130678dc8ae3")
  Shows: CityLmsName, NumOfRooms (avg 2.4), Floor, TotalArea (21-110 m²)...

→ chart_generator(
    resource_id="c3a68837-9b7a-4ee7-bd92-130678dc8ae3",
    chart_type="histogram",
    x_field="TotalArea",
    title="Distribution of Housing Unit Sizes (m²)"
  )
  → Most units are 48-57 m², with a long tail up to 110 m²

Insight: Cities like Ashkelon and Sderot show 25,000-35,000 subscribers per lottery — that's intense competition. Smaller cities in the periphery (Umm al-Fahm, Nazareth) have far fewer. If you're flexible on location, your odds improve dramatically.


Available Tools

Core Data Tools

ToolDescription
status_showGet CKAN version and site info
license_listList available dataset licenses
package_listGet all dataset IDs
package_searchSearch datasets with filters and sorting
package_showGet detailed metadata for a specific dataset
organization_listList all organizations
organization_showGet details of a specific organization
resource_searchSearch for resources within datasets
datastore_searchQuery data within a specific resource
fetch_dataConvenience tool — find dataset by name and fetch its data

Visualization Tools (MCP Apps) 📊

These tools render interactive UI directly in MCP-compatible clients.

dataset_profile

Profile a dataset to understand its structure and quality.

  • Fields detected: integer, number, string, coordinate
  • Statistics: min, max, mean, null count, unique values
  • Output: Interactive DataTable with search/filter
dataset_profile(resource_id="c3a68837-9b7a-4ee7-bd92-130678dc8ae3", sample_size=200)

chart_generator

Generate interactive charts from any dataset.

Chart TypeUse Case
histogramDistribution of numeric values (e.g., apartment sizes)
barCompare categories (e.g., subscribers per city)
lineTrends over time (e.g., housing units per lottery)
scatterCorrelations between two numeric fields
chart_generator(
  resource_id="7c8255d0-49ef-49db-8904-4cf917586031",
  chart_type="bar",
  x_field="LamasName",
  y_field="Subscribers",
  title="Housing Lottery Subscribers by City",
  limit=50
)

map_generator

Plot geographic data on interactive Leaflet maps.

map_generator(
  resource_id="e873e6a2-66c1-494f-a677-f5e77348edb0",
  lat_field="Lat",
  lon_field="Long",
  limit=500
)

Useful Resource IDs

Here are some interesting datasets to get started with:

DatasetResource IDGood For
✈️ Flights (טיסות)e83f763b-b7d7-479e-b172-ae981ddc6de5Bar charts by airline
🏠 Public Housing (דיור ציבורי)c3a68837-9b7a-4ee7-bd92-130678dc8ae3Histograms, profiling
🎰 Housing Lotteries (דירה בהנחה)7c8255d0-49ef-49db-8904-4cf917586031Bar/line charts
🚌 Transport Stations (תחנות)e873e6a2-66c1-494f-a677-f5e77348edb0Maps (has Lat/Long)
🏫 Schools (מוסדות חינוך)5c5d6bb0-755d-470d-84b6-d7dd3135ba9cMaps (UTM_X/UTM_Y)

Architecture

MCP Apps

Visualization tools use FastMCPApp providers with prefab-ui components:

  • DataProfile app → DataTable, Metric components
  • Charts app → BarChart, LineChart, ScatterChart, Histogram
  • Maps app → Embed with Leaflet HTML

Tools registered via @app.ui() automatically get proper MCP Apps metadata and render in compatible clients.

Async HTTP Layer

All API calls use httpx.AsyncClient with:

  • 30-second timeout
  • Automatic retries for 5xx errors
  • Connection pooling

Data Safety

  • Numeric values from CKAN are coerced (handles "25" → 25.0)
  • Map popup content is HTML-escaped to prevent XSS
  • Line charts are sorted by x-axis for correct rendering

Development

Running Tests

pytest tests/ -v          # 39 tests
pytest tests/ --cov=datagov_mcp  # With coverage

Code Style

ruff check .   # Lint
ruff format .  # Format

Project Structure

datagov-mcp/
├── datagov_mcp/
│   ├── server.py          # Core CKAN tools + provider registration
│   ├── apps.py            # FastMCPApp definitions (DataProfile, Charts, Maps)
│   ├── visualization.py   # Visualization tools (@app.ui entry points)
│   ├── api.py             # CKAN API helper
│   └── client.py          # HTTP client
├── tests/                 # 39 tests with HTTP mocking
│   ├── test_api.py
│   ├── test_contracts.py
│   ├── test_tools.py
│   └── test_visualization.py
├── screenshots/           # Auto-generated demo screenshots
├── server.py              # Entrypoint
└── pyproject.toml

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

  1. Fork the repository
  2. Create a feature branch
  3. Make changes with tests
  4. Submit a pull request

Troubleshooting

Port Conflicts with MCP Inspector

pip install nano-dev-utils
python -c "from nano_dev_utils import release_ports; release_ports.PortsRelease().release_all()"

Windows + OneDrive

Avoid running installation in OneDrive-synced folders. See uv#7906.

Import Errors

uv pip install -e ".[dev]"

License

MIT — see LICENSE.

Acknowledgments

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for DataGov Israel MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/datagov-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research