
Prozorro
io.github.kotiniiqq由 GitHub 帳號 kotiniiqq 發布v0.1.1更新於 Oct 24, 2026
Ukrainian public procurement (Prozorro): open tenders, plans, competitors, red flags. No keys.
概覽
本機 MCP 伺服器,同步烏克蘭 Prozorro 公共採購資料,讓助理檢索招標、計畫、採購方與供應商並計算風險標記。
- 可以做什麼
- 依關鍵字、CPV 代碼、地區、狀態、金額或截止日期檢索招標與即將發布的採購計畫,並查看單一招標的項目、標段、投標、得標者與文件。依 EDRPOU 代碼或名稱查找採購方與供應商,分析其得標紀錄、採購方、品類、得標率與折扣。比較競爭對手及雙方對戰結果,取得包含數量、金額與單價分布的市場概況。為某個採購方計算四項風險標記並附證據與連結。管理已儲存的搜尋與新招標摘要,並查看已同步的地區與時段。
- 適用情境
- 適合關注烏克蘭公共採購的情境:查找某地區或品類的開放招標、了解採購方的採購計畫、分析供應商與競爭對手,或篩選採購方的可疑跡象。資料由本機同步副本計算,適合按地區或品類持續監控,而非查詢同步範圍之外的一次性資訊。
- 執行需求
- 以 Python 套件形式透過 stdio 在本機執行,用 uvx 或 pip 啟動,需要 uv 或 Python。Prozorro API 是公開的,無需 API 金鑰,也沒有必要的環境變數,但可用 PROZORRO_MCP_DB 更改資料庫位置。需先同步地區與時段;繁忙地區每週資料約需 20 分鐘,磁碟占用約 350 MB。同步需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Prozorro,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
prozorro-mcp
An MCP server and a command-line tool for Prozorro, Ukraine's public procurement system. It keeps a local copy of the official open data for the regions you choose. Then you can ask an AI assistant (Claude, Cursor, VS Code Copilot and others), or the CLI on its own, things like:
- "Which open tenders for laboratory reagents are in Lviv oblast, and when are the deadlines?"
- "What will hospitals in my region buy next month? Show plans that are not tenders yet."
- "Who wins most of the flour tenders here, and at what price per kilogram?"
- "Who do we usually compete with (EDRPOU 12345678), and how often do we win against them?"
- "Any red flags at this buyer: single bidders, one supplier taking most of the money?"
Every number is computed by code from the data, and the assistant only writes the text. No API keys are needed: the Prozorro API is public, and nothing here calls an LLM.
[prozorro-mcp flow]Ukrainian step-by-step guide for non-developers: docs/guide.uk.md.
Try it in one minute (bundled demo, no sync)
You need uv (or plain pip install prozorro-mcp):
The demo is a real snapshot of Lviv oblast for one week (5–12 October 2026): 5,479 tenders, 1,120 of them with public bids, and 1,619 upcoming plans. Contact persons were removed.
Claude Desktop: one-click extension
Download prozorro-mcp.mcpb
and open it (or drag it into Settings → Extensions). Claude Desktop installs Python and the package by
itself, so there is nothing else to install and no config to edit. In the install dialog, type your
oblasts (for example Львівська, Волинська) and the days of history.
Your regions download in the background; until the first download finishes, Claude says the data is not ready and shows the progress. If you leave the settings empty, Claude asks which oblast and how many days to download. Every start fetches what changed since the last one. To add a region later, ask Claude: "download Volyn oblast for the last two weeks".
Connect it to other AI clients
The server runs locally over stdio. Pick your client:
Claude Code
Claude Desktop without the extension: Settings → Developer → Edit Config. The file is
%APPDATA%\Claude\claude_desktop_config.json on Windows and
~/Library/Application Support/Claude/claude_desktop_config.json on macOS:
Cursor (~/.cursor/mcp.json) and Windsurf, Cline and other clients: the same mcpServers block
as Claude Desktop.
VS Code (.vscode/mcp.json):
To try it on the demo first, add "--demo" after "serve". Restart the client after editing the config.
ChatGPT and claude.ai in the browser only connect to remote servers over HTTPS. See HTTP mode.
Sync your own data
- Regions work in any spelling:
Львів,львовская,Lviv,Kyiv city,Київська. Repeat--regionfor several. Military units hide their address by law, so their tenders have no region. Add them with--region "без регіону". - First sync walks the change feed backwards, newest change first, so tenders that are open right now
arrive in the first minutes, and stops at the start of the period. A busy
oblast takes about 20 minutes per week of data (Lviv: about 5,500 tenders and as many plans, roughly
350 MB on disk), mostly waiting on the public API, which is used
politely with 5 requests at a time and retries.
--cpv 33(or--cpv реактиви) keeps only your categories. - Next runs (
prozorro-mcp syncwith no options) fetch only what changed since the last run. Ctrl+C is safe: run the command again and it continues from where it stopped. - From the server:
prozorro-mcp serve --sync-on-startfetches what changed in the background when the client starts it (add--regionand--daysto widen the coverage). Before the first sync, the data tools returnno_datawith a request to ask the user for an oblast and a period; during a sync, results carrysync_in_progress. - Status:
prozorro-mcp statusshows what is covered. Data lives in~/.prozorro-mcp/data.db; setPROZORRO_MCP_DBto move it.
Use it without an AI client
The same numbers, as a table, CSV (opens in Excel with Cyrillic intact) or JSON. Install the command
once with uv tool install prozorro-mcp, and then:
Run sync and digest every morning with Task Scheduler or cron (the guide shows how), and you have a
daily list of new tenders without opening any website.
Tools
Eleven tools only read the local database. Each one declares readOnlyHint: true,
destructiveHint: false, idempotentHint: true and openWorldHint: false. Three more exist only in the
local stdio server, not in HTTP mode, and are marked for what they do: sync_data downloads data
(readOnlyHint: false, openWorldHint: true), watch_add saves a search and watch_remove deletes one
(destructiveHint: true). The server asks the assistant to start a download only after the user agrees.
When a question needs data that is not synced, for example another oblast or an older period, the
result says so and gives the exact sync command. It does not return an empty list that looks like
"nothing exists".
How the numbers are defined
- Open tender: status
active.tenderingoractive.enquiries, and the deadline has not passed as of the last sync. Prozorro sometimes changes the status late. - Competitive procedure: open, below-threshold, price quotation, competitive dialogue, framework
selection and similar types.
reporting(a direct contract) andnegotiationare not competitive. The full list is insrc/prozorro_mcp/models.py. - Decided tender: one that has an active award.
- Unit price: award ÷ quantity. It is computed only for tenders with exactly one item, and grouped
by the full CPV code and unit, so kilograms are never compared with tonnes. Other tenders are counted
as
excluded. - Win rate: decided tenders won ÷ decided tenders bid in. Bids become public only after the auction.
- Discount: (expected value − award) ÷ expected value, for competitive tenders without lots.
Red flags
A flag is a reason to look closer, not proof of wrongdoing.
Evals
They run without keys or network, all computed by code: prozorro-mcp eval --suite all. The latest
results are in evals/RESULTS.md.
- Flags: 35 labelled cases, including near-threshold negatives such as 29% vs 30% above the median or exactly half the money. Precision and recall are 1.0 for every flag.
- Regions and CPV words: 94 spellings, 98.9% recognized. The one miss is shown in the results.
- Reconcile: buyer and category totals from the analytics are checked against an independent recount over the raw JSON of the demo snapshot. 35 aggregates, 0 mismatches.
HTTP mode
The same tools are served over streamable HTTP. To reach it from ChatGPT or claude.ai, put it behind a reverse proxy with HTTPS (Caddy, nginx). Version 1 has no authentication: the data is public and read-only. Add rate limits at the proxy before exposing it.
Limits
- Local copy: you sync what you need. All of Ukraine for a month is about 100k requests to the public API, and that is not the intended local use.
- The period means last modification: a sync covers tenders changed in the last N days. Old tenders that are still being updated come along.
- Hidden addresses: tenders of military units have no region in Prozorro (see
--region "без регіону"). - CPV by words matches the official ДК 021 names. When the words are too broad, pass a code prefix. Tools echo the categories they used.
Development
The code is split by job: api (feed client) → sync → store (SQLite) → analytics (every number)
→ server (MCP) and cli. normalize handles regions and CPV.
Roadmap
- v2: a
price_raised_after_signingflag, for contracts whose price grew through amendments. This needs a sync of contract changes. - Later: a hosted HTTP instance for ChatGPT and claude.ai; Telegram or e-mail alerts as a separate service; owners of companies from the EDR register.
- Not planned: a "chance to win" or "recommended bid". It would be a guess dressed as a fact.
Contact
Feedback, ideas, job offers or custom projects (n8n, MCP, AI automation): [email protected]. Bug reports and feature requests are welcome in Issues.
Data and credits
Tender and plan data come from the public Prozorro API. ДК 021 (CPV) names and the region list come from ProzorroUKR/standards (Apache-2.0); see NOTICE.
MIT License.
來源:README.md,提交 4801316
工具
0版本歷史
1- v0.1.1最新Oct 13, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分