OpenBudget MCP Server

by OpenBudget

Integrations

  • Supports the Creative Commons Attribution-ShareAlike 4.0 International License as one of the licensing options for the project.

  • Connects to the OpenBudget/BudgetKey platform hosted on GitHub, providing access to comprehensive Israeli governmental budget data, contracts, and support payment information.

OpenBudget MCP 服务器

MCP 服务器提供对 OpenBudget API 的访问,允许您查询和搜索各种与预算相关的数据集。

描述

该项目提供了一个 FastMCP 服务器,用于与以色列的 OpenBudget 数据接口。它允许轻松访问预算数据、合同和支持信息。它充当了 OpenBudget API 和 MCP 客户端之间的桥梁。

该项目的实现完全归功于OpenBudget/BudgetKey团队的出色工作。

特征

  • 全面访问以色列政府预算数据
  • 与 OpenBudget API 实时集成
  • 跨多个数据类别的综合搜索功能
  • 历史预算跟踪和分析
  • 合同和支持付款信息检索
  • 易于使用的客户端应用程序 MCP 界面

要求

  • Python 3.10 或更高版本
  • uv包管理器

安装

git clone <repository-url> cd OpenBudget-mcp uv venv .venv\Scripts\activate uv pip install -r pyproject.toml uv lock

用法

使用以下方法之一安装并运行服务器:

  1. Visual Studio Code 配合使用(使用 Copilot) :前往vscode/mcp.json 文件,并将 {YOUR-LOCAL-PATH} 替换为您克隆代码库的路径。VSCode 应该会自动发现您的服务器。如果这不起作用,请确保在vscode://settings/mcp中启用了 MCP 和 MCP.Discovery。请确保在 vscode copilot 中启用代理模式。
  2. Claude AI Assistant一起使用:
fastmcp install server.py
  1. 使用 MCP Inspector 进行测试(了解如何使用MCP Inspector ):
fastmcp dev server.py

可用数据集

以下数据集可用:

  • 预算项目数据
  • 收入项目数据
  • 支持数据
  • 合同数据
  • 实体数据
  • 预算变更请求数据
  • 预算变更交易数据

MCP 工具

获取数据集信息

获取有关数据集结构的信息,包括其列和数据库模式。

搜索数据集

在数据集内执行全文搜索。

查询数据集

对数据集执行 SQL 查询。

MCP 资源

可用数据集

获取所有可用数据集的列表。

错误处理

在以下情况下,工具将返回适当的错误消息:

  • 数据集名称无效
  • 无效的 SQL 查询
  • API 请求失败
  • 网络连接问题

API 文档

该服务器基于 OpenBudget API。有关 API 端点和数据结构的更多详细信息,请参阅budgetkey.yaml中的 OpenAPI 规范。

贡献

我们欢迎您为改进 DataGov Israel MCP 服务器做出贡献。无论您是想添加新工具、增强现有功能还是改进文档,您的贡献都弥足珍贵。

有关其他 MCP 服务器和实现模式的示例,请参阅模型上下文协议服务器存储库

执照

该项目已获得双重许可:

  • MIT 许可证
  • 知识共享署名-相同方式共享 4.0 国际许可协议

有关详细信息,请参阅LICENSE文件。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

提供对以色列 OpenBudget API 的访问权限,使用户能够查询和搜索各种政府预算数据集,包括预算项目、合同和支持付款。

  1. 描述
    1. 特征
      1. 要求
        1. 安装
          1. 用法
            1. 可用数据集
              1. MCP 工具
                1. 获取数据集信息
                2. 搜索数据集
                3. 查询数据集
              2. MCP 资源
                1. 可用数据集
              3. 错误处理
                1. API 文档
                  1. 贡献
                    1. 执照

                      Related MCP Servers

                      • A
                        security
                        F
                        license
                        A
                        quality
                        Connects to the US Treasury's Fiscal Data API, enabling users to fetch specific treasury statements, access historical data, and generate formatted reports.
                        Last updated -
                        12
                        6
                        TypeScript
                        • Apple
                      • A
                        security
                        F
                        license
                        A
                        quality
                        Enables AI assistants to interact with the World Bank open data API, allowing for listing and analysis of indicators across available countries.
                        Last updated -
                        1
                        8
                        Python
                      • -
                        security
                        A
                        license
                        -
                        quality
                        A command-line interface and API that allows users to analyze and visualize AWS cloud spending data by enabling Claude to query AWS Cost Explorer through natural language conversations.
                        Last updated -
                        80
                        Python
                        MIT License
                        • Linux
                        • Apple
                      • -
                        security
                        -
                        license
                        -
                        quality
                        Enables users to search and filter open source issues related to climate change and sustainability projects through the ClimateTriage API.
                        Last updated -
                        1
                        TypeScript

                      View all related MCP servers

                      ID: 39b5u3zr16