@pipeworx/open-contracting

Connect: https://gateway.pipeworx.io/open-contracting/mcp · Install: one-click buttons

Tools: 4

Open Contracting MCP — international public procurement: government tenders and contract awards published under the OCDS (Open Contracting Data Standard). Mirrors bulk OCDS releases from 19 national and subnational publishers — 838,000+ contracting processes — refreshed weekly from the OCP Data Registry.

Tools

  • oc_tender_search(query, country, status, category, min_value, days, limit) — free-text search over tender title, buyer and description. See Language matching — the query works in English even where the data is not.
  • oc_recent(country, days, limit) — newest releases first, the “what just came out” view.
  • oc_process_history(ocid) — every release for one contracting process, in order, showing the tender → award → contract progression.
  • oc_coverage() — per-country publisher, release and process counts, and latest-release freshness. Call it first to see what is actually there.

Auth

None for the caller. The gateway injects the pack’s data credentials — it reads the OCDS bulk publications over PostgREST, so a query resolves against one backing store rather than depending on 19 separate upstream APIs being up at once.

Keep the wording here descriptive of WHAT is returned, not of where it is served from: pnpm check:hosting-claims fails the build on published copy that tells callers we hold a copy of upstream data, and this file is published (it generates docs/reference/open-contracting/). That gate red-lined main for nine consecutive pushes on 2026-08-23.

Language matching

Only 7 of the 19 publishers file their tender text in English. The rest publish in their own language, and the tool description and country argument are both in English, so an English question used to hit a silent zero: {"query":"Ministry of Health","country":"Dominican Republic"} returned 0 of 40,740 processes, while "Ministerio de Salud" returned rows.

LanguagePublishers
SpanishDominican Republic, Peru, Uruguay, Honduras, Guatemala, Mexico (Oaxaca), Argentina (Mendoza)
AlbanianAlbania, Kosovo
CroatianCroatia
ItalianItaly (ANAC)
ThaiThailand (Bangkok)
EnglishKenya, Nigeria, Ghana, Zambia, Liberia, Rwanda, Tanzania

oc_tender_search now expands the query instead of translating it. The phrase you passed is always searched; alongside it go its equivalents in the language of the country you filtered to, drawn from a synonym table of the buyer and subject words these corpora actually use (ministry / ministerio / ministria / ministarstvo / ministero / กระทรวง, and ~45 more). Every spelling rides in one PostgREST or=(...), which is a single SQL predicate — the branches union, so a row matching several is still returned once and there is no second round trip.

Three properties worth knowing:

  • It expands, never replaces. These corpora are mixed, not consistently one language, so rewriting the query one way would drop whatever is filed the other way. A native-language query keeps working and can only gain rows.
  • The lookup is bidirectional, which is also the accent fix. A caller who types Ministerio de Educacion gets the stored MINISTERIO DE EDUCACIÓN, because the unaccented Spanish token resolves through the same table to the accented stored form. That keeps every pattern fully literal, so the trigram index still applies.
  • It says what it searched. The response carries query_match.searched (the spellings) and query_match.publisher_language. A zero result returns a hint naming the publisher’s language, rather than a bare count: 0 that teaches the caller the data is absent when it is present.

* inside a spelling is the wildcard between words, so ministerio*salud matches MINISTERIO DE SALUD PÚBLICA. Word order is tried both ways for two-word phrases, since it flips between languages (“road construction” is filed as “construcción de carreteras”).

For an English publisher no vocabulary is substituted — only connector tolerance and word order, so Ministry Health and health ministry both reach MINISTRY OF HEALTH.

Data sources

  • OCP Data Registry (bulk OCDS downloads): https://data.open-contracting.org/
  • Open Contracting Data Standard: https://standard.open-contracting.org/
  • Publishers include Guatecompras (GT), OECE (PE), DGCP (DO), ARCE (UY), ONCAE (HN), ANAC (IT), Narodne Novine (HR), PPRC (XK), PPC (AL), BMA (TH), and the national procurement authorities of KE, NG, GH, ZM, LR, RW, TZ.

Tools

  • oc_tender_search — Search international public procurement — government tenders, contract notices, and contract awards published under the OCDS Open Contracting Data Standard. Covers 18 national and subnational publishe
  • oc_recent — Most recently published government procurement releases — new tenders and fresh contract awards across all covered OCDS publishers (Kenya, Nigeria, Ghana, Zambia, Liberia, Rwanda, Tanzania, Uruguay, H
  • oc_process_history — Full release history for a single contracting process, looked up by its OCID (Open Contracting ID, as returned by oc_tender_search / oc_recent). Returns every OCDS release in chronological order, show
  • oc_coverage — Which open-contracting procurement data is currently available: per-country publisher name, release and contracting-process counts, and latest-release freshness. Call this first to learn which of the

Tools

  • oc_coverage — Which open-contracting procurement data is currently available: per-country publisher name, release and contracting-process counts, and latest-release freshness. Call this first to learn which of the
  • oc_process_history — Full release history for a single contracting process, looked up by its OCID (Open Contracting ID, as returned by oc_tender_search / oc_recent). Returns every OCDS release in chronological order, show
  • oc_recent — Most recently published government procurement releases — new tenders and fresh contract awards across all covered OCDS publishers (Kenya, Nigeria, Ghana, Zambia, Liberia, Rwanda, Tanzania, Uruguay, H
  • oc_tender_search — Search international public procurement — government tenders, contract notices, and contract awards published under the OCDS Open Contracting Data Standard. Covers 18 national and subnational publishe

Regenerated from source · build September 4, 2026