Skip to main content
Glama
aviveldan

Datagov Israel MCP

by aviveldan

resource_search

Search Israeli government datasets on Data.gov.il by field values to find relevant public data resources for research or analysis.

Instructions

Find resources based on their field values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
order_byNo
offsetNo
limitNo

Implementation Reference

  • The main handler function for the 'resource_search' tool, decorated with @mcp.tool() for registration. It searches resources via the Data.gov.il API by constructing parameters and making a GET request.
    @mcp.tool() async def resource_search(ctx: Context, query: str = "", order_by: str = "", offset: int = 0, limit: int = 100): """Find resources based on their field values.""" await ctx.info("Searching for resources...") params = { "query": query, "order_by": order_by, "offset": offset, "limit": limit } response = requests.get(f"{BASE_URL}/action/resource_search", params=params) response.raise_for_status() return response.json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aviveldan/datagov-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server