Editalmd
Brazilian public procurement (PNCP): search, deadlines, tender markdown, alerts and watches.
Connect it
Settings → Connectors → Add custom connector
URL: https://editalmd.com/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://editalmd.com/mcp{
"mcpServers": {
"editalmd": {
"url": "https://editalmd.com/mcp"
}
}
}claude mcp add --transport http editalmd https://editalmd.com/mcp{
"servers": {
"editalmd": {
"type": "http",
"url": "https://editalmd.com/mcp"
}
}
}58 tools, verified live
evaluation_quotaread-onlyIndividual allowance: one premium and 100 basic documents, with an expiry date.
evaluation_premiumUses your only sponsored premium on a document of up to 50 pages. Keep evaluation.access_code as avaliacao_codigo and follow it with generation_status and agent_pass. A repeat returns the same access. Allowance per credential, until the earlier date of the agent's 30 days and the end of the pilot. Repeating the same document does not use another unit. Premium: keep evaluation.access_code and use X
evaluation_basicBasic native or OCR text of a PDF of up to 50 pages / 32 MiB, without review or structured tables. Up to 100 documents per agent. It does not open premium. Allowance per credential, until the earlier date of the agent's 30 days and the end of the pilot. Repeating the same document does not use another unit. Premium: keep evaluation.access_code and use X-Editalmd-Avaliacao together with X-Agent-Pas
evaluation_basic_resultread-onlyFollows the basic reading after retry_after_s and returns the text per page with the hash of the source. Allowance per credential, until the earlier date of the agent's 30 days and the end of the pilot. Repeating the same document does not use another unit. Premium: keep evaluation.access_code and use X-Editalmd-Avaliacao together with X-Agent-Pass in the reads and in GET /geracao. Basic does not
company_documentsread-onlyLists the private PDFs of the company. Binary downloads use the authenticated HTTP GET /documentos/:arquivo.
attach_company_documentSends a PDF proof of the company. It does not start OCR. Requires a session; for large files, prefer HTTP. Returns 201. JSON up to 11,200,000 bytes; PDF up to 8 MiB; 20 documents, 80 MiB and 50 pages per company. An identical file is reused. The automatic reading happens only when you request the analysis.
remove_company_documentcan modifyRemoves a proof from your own company; the analyses that used it become out of date.
analyze_participationStarts or resumes the analysis with the company record, the attachments and the tender. Call it only when the user asks; follow it with get_participation. Returns 202 after it accepts and keeps the request, and 200 when it reuses a finished analysis. It uses the profile and the attachments of this owner. Interrupted requests can resume; failures tell the reason and the next action. An explicit POS
get_participationread-onlyReads the state, the pending items and the met items, with reasons, actions and evidence. It never starts an analysis. Pending items group precisa_comprovar (proof missing), divergente (incompatible evidence) and acompanhar (future obligation). A different company record, attachments or dossier return outdated without current results. The reference date stays when the analysis resumes; a previous
list_my_companiesread-onlyThe companies are the account organizations with EditalMD; use the session or the organization key.
search_companiesread-onlySearches the company registry by CNPJ or company name; requires an account or a guest.
add_companycan modifyImports the CNPJ into a new organization or into the organization of the organization key. Without X-Organization-Id, it creates the organization with the company name and EditalMD on, or returns the one that the person removed from the list (201). With X-Organization-Id or an organization key, the record goes to that organization if the caller manages it and it has no company. Returns 200 when th
select_companycan modifySelects a registered company; it does not run an analysis. Each person's choice is kept in the account. Repeating the current choice writes nothing.
remove_companycan modifyRemoves the company from the list (owner or admin); the organization and the PDFs stay, and adding the CNPJ again brings it back.
awarded_pricesread-onlyAwarded results for a similar item, as a free summary: how many results, the median and the range (p25/p75) of the same catalog product in the same unit, without the extremes; the volume bought; the value for your quantity; and the other groups that the search found (ask for the product and the unit of one of them to switch). It searches awarded results by item description. It also accepts POST, P
framework_agreementsread-onlyThe valid framework agreements (`ata de registro de preços`) on PNCP for the object, most relevant first: the managing agency, the validity, whether the agreement accepts joining (carona) and the link to the agreement. Free. Only the agreements that are not canceled and are valid today or later. `adesao=1` returns only the ones that accept joining. The procurement record (`/api/compra/:id`) has th
procurement_plansread-onlyWhat agencies plan to procure (annual procurement plans, PCA, on PNCP), before the tender opens: item, agency, quantity, estimated value and desired date. Free. Only the current version of each plan; without `ano`, from the current year on. To know when the tender opens, create an alert with the same terms (`/api/alertas`). `Accept: text/html` opens the Planos de compras tab with the terms.
my_accountread-onlyThe identity and the private counters of the account session (cookie) sent in the MCP request. The global account is already the person in EditalMD: there is no activation per product.
my_documentsread-onlyThe private collection of the account. Requires the account session (cookie and the browser CSRF).
my_procurementsread-onlyThe private collection of the account. Requires the account session (cookie and the browser CSRF).
account_trackingread-onlyChecks that the Salvas, Alertas and Vigias belong to the account of the session. The lists of a guest edm_… move to the account with `POST /api/auth/claim`; a POST to this route answers 410 with the path.
claim_guest_trackingBrings into the session account what the guest edm_… created (the SDK claim): the Salvas, Alertas and Vigias that the account does not have yet, and the documents that the guest bought. Requires the bootstrap/CSRF of this browser; the page does it right after sign-in. It moves only what the guest still has, in one transaction; what collides with what the account already has stays with the guest. A
preview_alertA free sample of procurements by terms and filters, or editable suggestions by CNPJ. It does not create alerts.
update_alertcan modifyEdits the interest, or pauses or turns on again an alert of the owner. The filters replace the whole filter.
list_savedread-onlyLists up to 200 tenders saved by the owner, free.
save_procurementcan modifySaves the procurement, up to 200 per owner. Saving does not create a watch or a notification. The client sends only the ID; the snapshot comes from the collection.
remove_savedcan modifyRemoves the procurement from the personal list of the owner. Saving does not create a watch or a notification. The client sends only the ID; the snapshot comes from the collection.
generation_statusread-onlyFollows the real phases and the completion, free, without starting processing.
original_statusread-onlyReads the status of the original, free. It does not ask for a download or a generation. It returns only the file status: it does not deliver content, grant access, confirm pages or start a generation. No query. The response is no-store.
request_originalWhen the person wants the document, downloads the pending original from PNCP now. Free and idempotent. It does not start OCR. Use it when the person opens the document. The body is empty or {} (two bytes at most). A free collector downloads the original at once and the status becomes downloading; without a free collector, the request goes first into the queue.
list_examplesread-onlyLists five real free proofs to check the Markdown, the original PDF and the ZIP with images before you generate another document.
get_documentread-onlyA free lookup of the title, type, pages and the procurement linked to a document. Use `get_procurement` to list the related documents. It does not open content or start OCR.
get_document_dossierread-onlyItems, requirements, attestations, deadlines and obligations, with conditions, exceptions and excerpts/pages. It uses the same acesso_codigo as the reading. It does not start AI. The dossier is included in the document access, with no new analysis when you read it. Partial data tells the coverage; an export requires a finished version.
list_document_filesread-onlyThe catalog of the original files of the document, with download links and pages. Use /api/documento/{id}/original to download the full original.
api_indexread-onlyThe EditalMD API index, with the routes.
healthread-onlyHealth of the origin and size of the collection (procurements and documents with text).
search_tendersread-onlySearches public procurements by term. Free. Returns the object, the agency, the state (UF), the modality and the procurement id.
get_deadlinesread-onlyThe deadlines of the procurement: the published end of proposals and the last day to challenge the tender (estimate: 3 business days before the session, Law 14.133 art. 164, national holidays). Free. Served from the edge cache for up to 6 hours: the record rarely changes. `Cache-Control: no-cache` in the request reads the origin now. The `x-origem-cache` header says `hit`, `miss` or `bypass`.
get_procurementread-onlyThe procurement record and its documents in the collection (up to 50), with titles, types, pages and availability. Free. Served from the edge cache for up to 6 hours: the record rarely changes. `Cache-Control: no-cache` in the request reads the origin now. The `x-origem-cache` header says `hit`, `miss` or `bypass`.
who_suppliesread-onlyThe CNAEs (activity codes) that usually win procurements like this one, most likely first, with the official description and, per CNAE, how many items and how much of the estimated value pointed to it. Free. Each item of the procurement (up to 99, the ones of highest value) points to the 3 most likely CNAEs, by a classifier trained on the activity of the companies that won similar items in the awa
open_tenders_in_fieldread-onlyThe tenders with an open proposal period published in the last 7 days, in the state (UF) and in the CNAEs of the companies that supply the same as this procurement, highest value first, and the alert body that delivers them (for `create_alert`). Useful when the procurement you looked up is already closed. Free. Without a CNAE, it uses the terms of the object. It is the same read as the alert previ
get_tender_markdownread-onlyReads the Markdown with the acesso_codigo of the document, or with avaliacao_codigo and agent_pass of the sponsored premium. Five examples are free.
get_qualificationThe qualification list of the tender, with literal excerpts: conditions, exceptions and evidence by page of the available analysis. The lookup does not start another analysis. Deadlines, proposals and the other obligations are in the dossier; this list covers qualification and the required attestations, and does not state what the company has.
get_reading_manifestread-onlyThe document manifest: pages, images, SHA-256 and version. Send acesso_codigo; the examples are free. It does not start OCR. The same authorization opens the ZIP and the images through the API. Only ready resources. `document_approved: false` marks the automatic extraction and does not block reading.
create_ownerCreates the guest (token edm_…, issued by the account library) that opens alerts and watches, and the secret whsec_… that signs the webhooks. No sign-up. The token appears only once: keep it and send it in Authorization: Bearer in the alert and watch tools. The account library signs the token, with a limit per network and per hour, so the free allowance does not become infinite. The token has no r
get_ownerread-onlyThe owner state (requires the token edm_… or the account session): account or guest, the notice e-mail, the allowance and the secret whsec_… that signs each webhook (Standard Webhooks: webhook-id, webhook-timestamp, webhook-signature). Each webhook POST carries `webhook-id`, `webhook-timestamp` (Unix seconds) and `webhook-signature: v1,<base64>`: HMAC-SHA256 of `id.timestamp.body` with the key of
rotate_webhook_secretChanges the secret that signs the webhooks (requires the token edm_…). The previous secret still signs for 24 h, so you can change it without a failure window. During the 24 h, the `webhook-signature` header has two `v1,…` parts: one with the new secret and one with the previous. The receiver only needs to accept any part that matches.
create_alertAn alert for new procurements by object terms and state (UF) (requires the token edm_…). Channel pull (read with list_alert_matches), webhook (a signed https POST with the whsec_… of the owner) or email (only with the account session: it goes to the verified e-mail of the account). Two modes. By `termos`: a space requires all words, `|` accepts any word of the group (`uniforme|fardamento escolar`)
create_alerts_by_cnpjAlerts for new procurements by the company CNPJ (requires the token edm_…): the activities (CNAE) become families of terms, and there is one alert per family, main first, up to max_familias. A CNAE outside the dictionary is listed in the response with a null family. Two modes. By `termos`: a space requires all words, `|` accepts any word of the group (`uniforme|fardamento escolar`). By `cnpj`: the
list_cnaesread-onlySearch term suggestions by economic activity (CNAE), with the description, the family and coverage indicators. Free. Without `q`, it lists the activities with the most registered suppliers. With `q`, it searches by code prefix (`1412`, `1412-6/01`) or by a word of the description. A null `familia` or `termos` means that the CNAE is not in the dictionary yet: an alert by CNPJ does not use it.
list_alert_matchesread-onlyThe procurements that already matched an alert (pull channel), with deadlines and delivery status. Requires the token edm_….
watch_procurementWatches a procurement (requires the token edm_…): takes a snapshot now and records the events of correction, new document, suspension, postponed deadline and value, plus deadline notices. The checks are periodic; check the date of the last check in the watch. The notices `prazo_impugnacao` (on the day) and `prazo_proposta` (24 h before) go out once each.
list_watch_eventsread-onlyThe events of a watched procurement (what changed, from what to what, and when) and the current snapshot. Requires the token edm_….
consulta_cadastroread-onlyName, status, activity and address of a Brazilian company by CNPJ. It does not count against the daily free limit, does not show contacts or partners and runs no extra checks. The origin's protection limit still applies. For sanctions, tax status and a live CNIA check, use consulta_cnpj.
consulta_enderecoread-onlyAddresses and companies at a CEP (Brazilian postal code), without counting against the daily free limit. Up to 20 addresses and 20 companies; `pontos_total` has the total number of addresses. The origin's protection limit still applies.
consulta_sugerirread-onlySuggests up to 8 Brazilian companies for a CNPJ, company name, partner, phone or e-mail, ordered by how well they match. It does not count against the daily free limit and does not show contacts. `incompleto` means one of the sources did not answer.
consulta_cnpjread-onlyBrazilian company record by CNPJ from the Federal Revenue (Receita Federal), with the special status when there is one (bankruptcy, judicial recovery, liquidation); its sanctions (CEIS, CNEP, CEPIM, leniency agreements, TCU and the CNJ's CNIA, checked live); partners on the politically exposed persons list (CGU); tax status (federal tax debt, installment agreements, tax incentives and construction
consulta_cepread-onlyAddresses at a CEP (Brazilian postal code) with coordinates (CNEFE/IBGE) and the companies registered there. Returns up to 20 addresses and up to 20 companies; the total number of addresses is in `pontos_total`. 10 free lookups per day per network; after that, the tool answers `free_limit` with `resets_at`.
Alternatives in Search & Research
Compare →
beehiivOfficialA
Manage beehiiv newsletters, posts, podcasts, community, subscribers, and analytics.
ARAtlassian Rovo MCP ServerOfficialA
Connect to Atlassian Jira, Confluence, Loom, and more to search, create, and manage your work.
ZOZoomInfoOfficialA
Official ZoomInfo MCP server. Search and enrich companies, contacts, and buyer intent signals.
CACloudinary Asset ManagementOfficialA
Upload, organize, search, and transform images, videos, and files with AI-powered tools.
MAMapboxOfficialA
Geospatial intelligence with Mapbox APIs like geocoding, POI search, directions, isochrones, etc.
MRMCP Registry ServerA
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.