israel-gov-api

Query and analyze Israeli government open data via the data.gov.il CKAN API.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/amitpo23/cfo --skill israel-gov-api-amitpo23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: israel-gov-api
Source: https://github.com/amitpo23/cfo/tree/main/.claude/skills/israel-gov-api
Command: npx skills add https://github.com/amitpo23/cfo --skill israel-gov-api-amitpo23

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Finding and querying Israeli government open data is difficult because data.gov.il uses Hebrew field names, rotating resource IDs, undocumented rate limits, and a disabled SQL endpoint. This Skill provides the correct CKAN API call chain, encoding rules, and pagination strategies to reliably retrieve datasets. ## Core Features & Use Cases - Dataset Discovery: Search data.gov.il by keyword or ministry organization ID using package_search and package_show. - Tabular Data Queries: Filter, sort, and paginate datastore resources, including cursor paging on _id for datasets over 32,000 rows. - CLI Utility: A bundled Python script (query_datagov.py) supports search, dataset, query, and orgs subcommands for direct terminal access. - Use Case: A user asks for school data in Tel Aviv. The Skill chains package_search, package_show, and datastore_search with a percent-encoded Hebrew filter on city code 5000 to return a structured school list. ## Quick Start Ask the agent to find and query Israeli government data on data.gov.il, for example by requesting vehicle registration records or education institutions filtered by city.

Frequently Asked Questions about israel-gov-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query data.gov.il datasets with the CKAN API?

Use package_search to find a dataset, package_show to get its active resource ID, then datastore_search with filters, fields, sort, and limit parameters. The datastore_search_sql endpoint is disabled and returns 403 Forbidden.

How to filter Israeli government data by Hebrew field values?

Hebrew filter values and search terms must be UTF-8 percent-encoded in the URL. For example, filter on Haifa with filters=%7B%22city%22%3A%22%D7%97%D7%99%D7%A4%D7%94%22%7D, since raw Hebrew breaks several HTTP clients.

Why does datastore_search fail on large datasets?

Offset paging on data.gov.il caps around 32,000 records, after which requests return errors or empty pages. For larger datasets, use cursor paging on the _id field with ascending sort and a filter for _id greater than the last seen value.

What does a 403 Security Violation from data.gov.il mean?

A 403 with a Security Violation body means the data.gov.il WAF terminated your session, not a permissions issue. Recover with exponential backoff of 10, 30, and 60 seconds, drop session cookies, and retry with a fresh User-Agent.

Can I use MCP servers instead of raw CKAN API calls?

Yes, the Skill recommends MCP servers such as datagov-israel and data-gov-il for direct tool access to the CKAN API, plus pre-scoped servers for vehicles, amutot, and elections datasets. Fall back to raw API calls if no MCP is installed.

When should I not use the data.gov.il API?

Do not use it for classified government data or data requiring security clearance, and note that some resources lack a queryable datastore. In those cases download the CSV or Excel resource directly and process it locally.