Secop MCP Server

Consulta contratación pública de Colombia (SECOP I y II) desde datos.gov.co

Local serverstdioPython

What is the Secop MCP server?

Most developer tooling work still happens through a UI a human drives. Secop MCP server moves it into the conversation instead. Consulta contratación pública de Colombia (SECOP I y II) desde datos.gov.co.

The short version

Servidor MCP (Model Context Protocol) para consultar la contratación pública de Colombia a través de SECOP I y SECOP II.

The tools it exposes

The server publishes 10 tools. What each one is for:

  • buscar_secop1 — Buscar procesos en SECOP I por entidad, contratista, objeto, departamento, rango de fechas, etc
  • buscar_procesos_secop2 — Buscar procesos de contratación en SECOP II con filtros temporales
  • buscar_contratos_secop2 — Buscar contratos electrónicos en SECOP II con filtros temporales
  • buscar_proveedores — Buscar proveedores registrados en SECOP II
  • buscar_por_persona — Buscar en TODOS los datasets por cédula/NIT o nombre de una persona
  • resumen_contratacion — Vista condensada de contratos (campos clave: entidad, proveedor, valor, estado, fecha)
  • agregaciones_contratacion — Totales agrupados por proveedor, entidad, departamento o modalidad
  • consulta_libre — Consulta SoQL avanzada sobre cualquier dataset
  • listar_datasets — Ver todos los datasets y sus campos disponibles
  • Requisitos — The Requisitos tool exposed by this server

Getting it running

The server ships on PyPI as secop-mcp-server, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

What it needs from you

Configuration is passed through the environment: SOCRATA_APP_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Secop's toolset — buscar_secop1, buscar_procesos_secop2, buscar_contratos_secop2 and 7 more — is a fair guide to whether it matches your workflow. It is maintained by juandavidsernav; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 10 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Secop.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
buscar_secop1Buscar procesos en SECOP I por entidad, contratista, objeto, departamento, rango de fechas, etc.
buscar_procesos_secop2Buscar procesos de contratación en SECOP II con filtros temporales
buscar_contratos_secop2Buscar contratos electrónicos en SECOP II con filtros temporales
buscar_proveedoresBuscar proveedores registrados en SECOP II
buscar_por_personaBuscar en TODOS los datasets por cédula/NIT o nombre de una persona
resumen_contratacionVista condensada de contratos (campos clave: entidad, proveedor, valor, estado, fecha)
agregaciones_contratacionTotales agrupados por proveedor, entidad, departamento o modalidad
consulta_libreConsulta SoQL avanzada sobre cualquier dataset
listar_datasetsVer todos los datasets y sus campos disponibles
RequisitosThe Requisitos tool exposed by this server.

How to install the Secop MCP server

{
  "mcpServers": {
    "secop-colombia": {
      "command": "uvx",
      "args": ["secop-mcp-server"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
SOCRATA_APP_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Secop to buscar secop1.
  • Use Secop to buscar procesos secop2.
  • Use Secop to buscar contratos secop2.

Frequently asked questions

It connects Secop to MCP-compatible AI assistants such as Claude and Cursor, exposing 10 tools (buscar_secop1, buscar_procesos_secop2, buscar_contratos_secop2, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Secop directly.