Compras Gov Br MCP Server

Este projeto liga o Claude - ou qualquer assistente de IA compatível com MCP - às APIs públicas do Compras.gov.br, do PNCP e do Portal da Transparência.

People who work with brasil, contratacoes publicas and dados abertos and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in Python.

VERIFIED ACTIVE

LAST COMMIT 2026-09-10 · ★ 7 · #332 OF 945 MAINTAINED OTHER · VERIFIED 2026-09-18

MIT · Python servers · how we verify → /methodology

01 · Install Compras Gov Br

Claude Code

claude mcp add opedrosoares-mcp_compras --transport http https://mcp-compras.up.railway.app/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "opedrosoares-mcp_compras": {
      "url": "https://mcp-compras.up.railway.app/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://mcp-compras.up.railway.app/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-09-18

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to mcp-compras.up.railway.app

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

repo age created 2026-08-18 - young repo, little track record yet

license MIT - declared in the repository

pypi package compras-mcp - check the name against the project README before installing (PyPI has no namespace ownership)

registry namespace io.github.opedrosoares is GitHub-verified and matches the repo owner

03 · What Compras Gov Br can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v0.4.0 · 2026-09-09

v0.3.17 · 2026-09-07

v0.3.16 · 2026-09-07

tools de arquivos do PNCP (TR/Edital/ATA) via API pública /api/pncp · New Contributors · @LeonardoDiasRR made their first contribution in

04 · Who maintains Compras Gov Br

MCP Compras.gov.br is maintained by opedrosoares. It's the only MCP server we track from this author; the repo dates to Aug 2026.

05 · Facts

category
other - ranked #332 of 945 actively-maintained other servers as of 2026-09-18.
release cadence
4 releases in the last 90 days (latest 2026-09-09)
registry
io.github.opedrosoares/mcp-compras (active, first published 2026-09-07 · 3 versions)
packages
pypi:compras-mcp

06 · Compras Gov Br FAQ

What is Compras Gov Br?

Este projeto liga o Claude - ou qualquer assistente de IA compatível com MCP - às APIs públicas do Compras.gov.br, do PNCP e do Portal da Transparência.

Is Compras Gov Br still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-10 and it shipped 4 releases in the last 90 days. We re-verify nightly.

How do I install Compras Gov Br?

Run `uvx compras-mcp`. You can also paste the ready-made client config above.

Does Compras Gov Br require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-09-18; you can connect without credentials.

07 · Alternatives to Compras Gov Br