Skip to main content
Glama
jp-procurement-mcp

jp-procurement-mcp

by koizumikento

jp-procurement-mcp

調達公告と落札実績を調べるMCPサーバーです。MCP、CLI、Pythonライブラリから同じ機能を使えます。

準備 · MCP登録 · CLI · Python · 移行手順

準備

Python 3.12以上、uv、Gitが必要です。

git clone https://github.com/koizumikento/jp-procurement-mcp.git
cd jp-procurement-mcp
uv sync --locked

APIキーは不要です。

Related MCP server: procure-info-disclosure-mcp-server

MCPクライアントに登録する

設定例の /absolute/path/to/jp-procurement-mcp をクローン先の絶対パスに置き換えます。Windowsでは C:/projects/jp-procurement-mcp のように書けます。

Codex

codex mcp add jp-procurement-mcp -- uv --directory "/absolute/path/to/jp-procurement-mcp" run --locked jp-procurement-mcp
codex mcp list

新しいセッションで /mcp を開いて接続状態を確認します。

Claude Desktop / Cursor

Claude DesktopはOSに応じて次のファイルに設定します。

  • Windowsは %APPDATA%/Claude/claude_desktop_config.json

  • macOSは ~/Library/Application Support/Claude/claude_desktop_config.json

Cursorはプロジェクト内の .cursor/mcp.json を使います。mcpServers に次の項目を追加し、クライアントを再起動してください。

{
  "mcpServers": {
    "jp-procurement-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/absolute/path/to/jp-procurement-mcp",
        "run",
        "--locked",
        "jp-procurement-mcp"
      ]
    }
  }
}

uv が見つからない場合は、command に実行ファイルの絶対パスを指定してください。

ツール

データごとの入力条件、結果、出典と利用条件は、表のリンク先に記載しています。

ツール

データと操作の説明

search_notices

調達公告

search_awards

落札実績

summarize_awards

落札実績

CLIで使う

クローン先で実行します。取得結果はUTF-8のJSONとして標準出力に書き出します。

uv run jp-procurement-mcp notices search-notices --query 防災 --limit 3
uv run jp-procurement-mcp awards search-awards --fiscal-year 2025 --query 地図 --limit 3

引数の説明は、各サブコマンドに --help を付けて確認できます。

Pythonで使う

自分のPythonプロジェクトの依存関係に追加します。

uv add "git+https://github.com/koizumikento/jp-procurement-mcp.git@main"

次のコードを example.py に保存し、uv run python example.py で実行します。

import asyncio

from jp_procurement_mcp import search_notices

result = asyncio.run(search_notices(query="防災", limit=3))
print(result)

ツールと同じ名前の非同期関数を利用できます。すでにイベントループがある場合は、直接 await してください。

出典と利用条件

コードはMITライセンスです。データは実行時に各提供元から取得します。取得データには、データ別の説明に記載した提供元の利用条件が適用されます。

開発

uv sync --locked
uv run ruff check .
uv run ty check
uv run pytest
uv build

Available Tools

3 tools
search_awardsB
Read-onlyIdempotent

Search award titles in one fiscal-year snapshot or one publication-day delta.

Inputs: limit, query, offset, fiscal_year, +3 more. Returns: object

search_noticesB
Read-onlyIdempotent

Search KKJ notices by keyword, project name, organization or prefecture.

Optional date filters accept YYYY-MM-DD, start/end, start/ or /end.
Set include_details to return a bounded body excerpt and attachment links.

Inputs: limit, query, category, issue_period, +9 more. Returns: object

summarize_awardsB
Read-onlyIdempotent

Compare annual award snapshots by ministry for up to three distinct fiscal years.

Prices are summed only for case numbers with one source row and a usable price.

Inputs: fiscal_years (required), query, ministry_code. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation4/5

    Each tool targets a distinct operation: keyword search over notices, keyword search over awards, and cross-year aggregation of awards. The two award tools share a domain but differ clearly in intent (retrieve rows vs. compare annual snapshots), though an agent could still hesitate over whether to use search_awards or summarize_awards for a multi-year query.

    Naming Consistency5/5

    All three tools follow the same snake_case verb_noun convention (search_notices, search_awards, summarize_awards). The verbs are meaningful and the pattern is entirely predictable.

    Tool Count3/5

    Three tools is thin for a procurement data server, leaving no room for detail retrieval, listing of organizations/prefectures, or attachment fetching. The set feels minimal rather than deliberately scoped.

    Completeness3/5

    Search and aggregate operations are covered, but there is no get-by-id/notice-detail tool for awards and no way to fetch attachments as a standalone capability (only via include_details on notices). Agents will hit dead ends when they need to drill into a specific award or paginate a large result set.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Read-only MCP server for searching Japanese government procurement bid notices (官公需) from the SME Agency's KKJ portal. Includes AI ranking, PDF requirement extraction, and CSV/calendar export.
      49 npm
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching the Japanese government's 調達ポータル for tender and award notices, reading any notice in full, and listing successful-bid records from the portal's open data.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to search Japanese public procurement bid notices from the 官公需情報ポータルサイト and read their announcement text, attachments, and source details through MCP tools.
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables users to search Japan Procurement Portal contract award records by fiscal year, project name, ministry, and corporate number, and to summarize award counts and prices by ministry across multiple fiscal years without an API key.
      2
      MIT