DataGov Israel MCP Server

DataGov Israel MCP Server

By aviveldan GitHub

MCP server for Israel Government Data

Overview

What is MCP Integration with DataGov Israel API?

MCP Integration with DataGov Israel API is a project that allows users to easily interact with the Israeli Government Public API (data.gov.il) through a Flask-based MCP server and an OpenAI-integrated client.

How to use MCP Integration with DataGov Israel API?

To use this project, clone the repository, install the required dependencies, set your OpenAI API key, start the MCP server, and then run the client to fetch and process data.

Key features of MCP Integration with DataGov Israel API?

  • Flask-based MCP server for data fetching from the Israeli Government API.
  • Integration with OpenAI's API for enhanced data processing.
  • JSON schema definitions for function execution.

Use cases of MCP Integration with DataGov Israel API?

  1. Fetching public data from the Israeli Government for research purposes.
  2. Integrating government data into applications using OpenAI's capabilities.
  3. Automating data retrieval and processing tasks.

FAQ from MCP Integration with DataGov Israel API?

  • What are the prerequisites for using this project?

You need Python 3.x and an OpenAI API key.

  • Is there a way to contribute to this project?

Yes! Contributions are welcome, and you can submit issues or enhancement requests.

Content

DataGov Israel MCP Server

Easily interact with the Israeli Government Public API (data.gov.il) using this project.


Quick Start

Requirements

uv

This project uses the uv package manager, a drop-in replacement to pip.

Installation

  1. Clone the repository:
    git clone <repository-url>
    cd datagov-mcp
    
  2. Install dependencies:
    uv venv
    uv pip install -r pyproject.toml
    

Usage

You can install this server in Claude Desktop and interact with it right away by running:

fastmcp install server.py

Alternatively, you can test it with the MCP Inspector:

fastmcp dev server.py

Available Tools

  • status_show - Display the current status of the server
  • license_list - List all available licenses
  • package_list - List all available packages
  • package_search - Search for packages with various filters
    • Required arguments:
      • q (string): Query string to search for
      • fq (string): Filter query
      • sort (string): Sorting order
      • rows (int): Number of rows to return
      • start (int): Starting index
      • include_private (bool): Include private packages
  • package_show - Show details of a specific package
    • Required arguments:
      • id (string): ID of the package
  • organization_list - List all organizations
  • organization_show - Show details of a specific organization
    • Required arguments:
      • id (string): ID of the organization
  • resource_search - Search for resources with various filters
    • Required arguments:
      • query (string): Query string to search for
      • order_by (string): Order by field
      • offset (int): Offset for pagination
      • limit (int): Limit for pagination
  • datastore_search - Search the datastore with various filters
    • Required arguments:
      • resource_id (string): ID of the resource
      • q (string): Query string to search for
      • distinct (bool): Return distinct results
      • plain (bool): Return plain results
      • limit (int): Limit for pagination
      • offset (int): Offset for pagination
      • fields (string): Fields to include in the result
      • sort (string): Sorting order
      • include_total (bool): Include total count
      • records_format (string): Format of the records
  • fetch_data_gov_il - Fetch data from data.gov.il
    • Required arguments:
      • dataset_name (string): Name of the dataset
      • limit (int): Number of records to fetch
      • offset (int): Offset for pagination

Contributing

We welcome contributions to help improve the DataGov Israel MCP server. Whether you want to add new tools, enhance existing functionality, or improve documentation, your input is valuable.

For examples of other MCP servers and implementation patterns, see the Model Context Protocol servers repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

No tools information available.
No content found.