Queries Brazilian procurement, contracts, price registries, annual plans, and CNPJ records through MCP.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Licinexus MCP.
search_licitacoesSearch Brazilian public procurement bids (licitações) on PNCP. PNCP requires a date range and at least one modality code per query. If you do not specify, defaults are: last 7 days and modalities [6, 8, 9] (Pregão Eletrônico, Dispensa, Inexigibilidade — most common). Maximum date range per query: 365 days (PNCP limit). Wider windows return HTTP 422. For multi-year searches, issue multiple calls with date windows of <= 365 days each. Modality codes: 1 = Leilão - Eletrônico 2 = Diálogo Competitivo 3 = Concurso 4 = Concorrência - Eletrônica 5 = Concorrência - Presencial 6 = Pregão - Eletrônico 7 = Pregão - Presencial 8 = Dispensa de Licitação 9 = Inexigibilidade 10 = Manifestação de Interesse 11 = Pré-qualificação 12 = Credenciamento 13 = Leilão - Presencial Filters palavraChave, valorMinimo, valorMaximo are applied client-side over the page returned by PNCP.
get_licitacaoGet the full details of a single licitação (procurement bid) on PNCP. Provide either numeroControlePNCP (the full PNCP control number string) or all three of orgaoCnpj, ano, sequencial.
list_licitacao_itensList the items (lots) of a licitação on PNCP. Each item has description, quantity, unit, estimated unit value and category. Provide either numeroControlePNCP, or orgaoCnpj/ano/sequencial.
list_licitacao_resultadosList the bidding results (winners, runners-up, prices, suppliers) for a specific item of a licitação. You must specify which item — use list_licitacao_itens first to discover item numbers.
list_licitacao_arquivosList the files (edital PDFs, attachments, terms of reference) attached to a licitação on PNCP. Returns metadata and direct URLs — does not download the file content.
search_contratosSearch public procurement contracts (contratos) on PNCP. Useful for analyzing market history, supplier behavior, and agency spending patterns. Defaults to last 30 days when no date range is provided. Maximum date range per query: 365 days (PNCP limit); wider windows return HTTP 422. For multi-year searches, issue multiple calls.
Licinexus MCP MCP server gives compatible AI clients structured access to Brazilian public procurement data from the Portal Nacional de Contratações Públicas (PNCP) and public company-registration data. It is suited to questions about open bids, contract history, winning suppliers, price-registration agreements, agency profiles, and what government bodies plan to buy.
The procurement tools cover searches and record-level lookups. An agent can find licitações, retrieve a complete procurement record, inspect its items, review results for a selected item, and list attached file metadata with direct URLs. Contract tools expose contract details, additive terms, and billing instruments. Supplier-oriented queries can list contracts associated with a CNPJ, while CNPJ lookup returns registration details such as legal and trade names, CNAE classifications, address, partners, capital, juridical nature, and Simples or MEI status.
The server is stdio-based. An MCP client starts the npm package and communicates with it through JSON-RPC over standard input and output; it is not intended to be run as an interactive terminal command. Requests are sent to public data endpoints, so no local database or API credential is needed.
PNCP searches require dates and, for licitações, at least one modality code. Defaults are provided when these values are omitted: recent searches generally use the last seven days and modalities 6, 8, and 9, while contract, price-registry, and PCA searches have their own documented default windows. PNCP accepts at most 365 days per request. Longer investigations must be split into separate windows. Keyword and value filters on some search operations are applied to the page returned by PNCP rather than across the entire result set.
Aggregation tools summarize procurement counts and optional values by period, and a comparison tool returns totals and absolute or percentage differences for two periods. Aggregation can make additional requests when filtering by government sphere or calculating value metrics, so large ranges and fine-grained buckets may require care.
Licinexus MCP MCP server requires Node.js 18 or later and an MCP-compatible client. The package is available as @licinexusbr/mcp and can be launched with npx -y @licinexusbr/mcp. Add that command and its arguments to the client’s MCP configuration, then fully restart the client so it loads the server.
The documented clients include Claude Desktop, Cursor, Continue, Cline, and programmatic MCP clients. ChatGPT consumer web does not natively support stdio MCP according to the supplied documentation, although an OpenAI Agents SDK setup is shown for programmatic use.
No API key, registration, or local database is required. CNPJ data uses BrasilAPI by default; setting CNPJ_PROVIDER=minhareceita switches the provider to Minha Receita.
The server exposes metadata and direct URLs for licitação attachments; it does not download file contents. To inspect bidding results, the caller must first identify an item, normally by using the procurement-items tool. Price-registry lookups can include item balances and supplier information when the required procurement and registry identifiers are supplied.
PNCP enforces the 365-day request limit and returns HTTP 422 for wider individual windows. The aggregation tool supports a maximum overall range of about five years, but each underlying request still follows the PNCP limit. Client-side filters may only apply to the page fetched for a search, and aggregation with pagination can issue many upstream calls. These constraints should be reflected in agent prompts and workflows.
The project is open source under the MIT license. It is intended for MCP clients that can launch local stdio servers; a hosted remote endpoint is not described in the supplied material.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-199)<a href="https://allmcps.com/mcp/mcp-199"><img src="https://allmcps.com/api/badge/mcp-199?style=directory" alt="Licinexus MCP on AllMCPs" /></a>