secop-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SECOP_APP_TOKEN | No | Socrata app token. Anonymous requests share a small rate-limit pool and start returning HTTP 429 under load. Free to create. | |
| SECOP_TIMEOUT_MS | No | Per-request timeout in milliseconds. | 20000 |
| SECOP_MAX_RETRIES | No | Retries after the first failure, for 429 and 5xx only. | 3 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server queries SECOP II — Procesos de Contratación (Socrata dataset p6dx-8zbt), the official open-data feed of Colombian public procurement processes.
Guidance:
Ask for a department and a UNSPSC category when the user is a supplier looking for work; those two filters decide relevance more than any keyword.
Drafts ("Borrador") are excluded unless include_drafts is true.
Budgets are in Colombian pesos (COP). Never present them as USD.
Values come from the entity itself and are frequently incomplete; say so instead of guessing.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_processesA | Search SECOP II processes by place, category, entity, budget, state and date. Returns the newest matches first plus the total number of matching processes. |
| get_processA | Fetch a single procurement process by its SECOP II process id (e.g. CO1.REQ.6690779). |
| summarize_procurementA | Group matching processes by a field (entity, department, modality, category, supplier...) and return how many processes and how much budget each group holds. Use it to size a market before bidding. |
| discover_unspsc_codesA | Find which UNSPSC category codes actually carry the work a supplier describes in plain words ("software", "transporte escolar", "obra civil"), ranked by number of processes. Run this before searching by category. |
| top_awarded_suppliersA | Who actually wins this kind of contract: ranks suppliers by awarded amount for the given filters. Use it to check whether a market is open or captured before spending days on a bid. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| qualify_opportunity | Checklist an assistant should follow before telling a small supplier to bid on a process. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| dataset-schema | The columns this server reads from the SECOP II dataset and what each one means. |
TDQS
Scored across 5 tools
Each tool has a clearly stated purpose: listing (search_processes), single fetch (get_process), aggregation (summarize_procurement), code discovery (discover_unspsc_codes), and supplier ranking (top_awarded_suppliers). The main risk is confusion between search_processes, summarize_procurement, and top_awarded_suppliers, which all take similar filters but return different shapes; the descriptions mostly disambiguate this, though an agent could still pick the wrong one when it wants both a list and a summary.
All names use snake_case, and four of five follow a verb_noun pattern (search_processes, get_process, summarize_procurement, discover_unspsc_codes). top_awarded_suppliers breaks the pattern as a bare noun phrase with an embedded adjective, a minor deviation that is still readable.
Five tools is well within the healthy range and each maps to a distinct stage of the procurement workflow (discover codes, search, fetch details, size the market, check competition). Nothing feels redundant or missing at the count level.
The surface covers discovery, search, detail, aggregation, and supplier ranking, but has notable gaps: there is no way to retrieve individual award/contract records or supplier profiles, and search_processes exposes no pagination or offset control despite returning large result sets. These omissions can become dead ends for deeper due-diligence workflows.