Skip to main content

Add your description here

Project description

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 (for windows users - refrain from running this script in folders watched by onedrive):
    uv venv
    .venv\Scripts\activate  # source .venv/bin/activate for MacOS / Linux
    uv pip install -r pyproject.toml
    uv lock # update the project's lockfile
    

Usage

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

fastmcp install claude desktop server.py

Alternatively, you can test it with the MCP Inspector:

fastmcp dev server.py

If client / server ports are busy, you can easily free them using nano-dev-utils:

uv pip install nano-dev-utils

in terminal type 'python', and then run the following code:

from nano_dev_utils import release_ports 
pr = release_ports.PortsRelease()
pr.release_all()

type exit() to get back to terminal. Alternatively run the above code as a script.

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 - Fetch data from public API based on a dataset name query
    • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_datagov_mcp-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_datagov_mcp-0.2.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_datagov_mcp-0.2.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_datagov_mcp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 75961773a5e259c09f877494f97deeb724e8406143ecce97c5c759870d362c1f
MD5 6c925bd61922c76cb1cd3422d60050e8
BLAKE2b-256 18abfdda8eae5f60983e4180a54ac6efddb50290b30f2545bf78631d71363c56

See more details on using hashes here.

File details

Details for the file iflow_mcp_datagov_mcp-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_datagov_mcp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6124f63072a5c4f72cea047e52c0758c80b8514faf45b6339851870d530cf220
MD5 36de309757a6d96867e7a758ed98083b
BLAKE2b-256 4da3b3114d47c45bd9c49f612f4b6ee17c61c1a793f7a836f0ffee39e1a9ac59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page