# Querido Diário MCP Server (pypi · querido-diario-mcp-server)

Unofficial, read-only MCP server for the public Querido Diário API (Brazilian municipal gazettes)

- Trust score: 57/100 (low)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-22

## Components

- pypi · `querido-diario-mcp-server`: 57/100 (this document), [markdown](https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server.md), [page](https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server)

## Channel facts

- Registry: `pypi`
- Package: `querido-diario-mcp-server`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-22.

- **Supply Chain Security**: 44/100
  - Malware scan not yet available for this package.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs a script at install time (build_backend) that we could not recognise. It may be perfectly ordinary, but we do not read the published tarball, so we cannot say what it does.
  - 1 of 32 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: no license is declared.
  - Actively maintained (last published 21 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 65/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 813 tokens (~271/item across 3 items; 3 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 73/100
  - Stability observed for 22 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 3 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 4 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

## Install

### How do I install the Querido Diário MCP Server server?

Querido Diário MCP Server runs locally as a PyPI package, launched with uvx querido-diario-mcp-server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add lucaspmgomess-querido-diario-mcp-server -- uvx querido-diario-mcp-server
```

### Cursor

```json
{
  "mcpServers": {
    "lucaspmgomess-querido-diario-mcp-server": {
      "command": "uvx",
      "args": [
        "querido-diario-mcp-server"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "lucaspmgomess-querido-diario-mcp-server": {
      "command": "uvx",
      "args": [
        "querido-diario-mcp-server"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add lucaspmgomess-querido-diario-mcp-server -- uvx querido-diario-mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "lucaspmgomess-querido-diario-mcp-server": {
      "type": "local",
      "command": [
        "uvx",
        "querido-diario-mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add lucaspmgomess-querido-diario-mcp-server --command uvx --arg querido-diario-mcp-server
```

### Hermes

```yaml
mcp_servers:
  lucaspmgomess-querido-diario-mcp-server:
    command: "uvx"
    args: ["querido-diario-mcp-server"]
```

### Netclaw

```json
{
  "McpServers": {
    "lucaspmgomess-querido-diario-mcp-server": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "querido-diario-mcp-server"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add lucaspmgomess-querido-diario-mcp-server -t stdio -c uvx -a querido-diario-mcp-server
```

### Other

```json
{
  "mcpServers": {
    "lucaspmgomess-querido-diario-mcp-server": {
      "command": "uvx",
      "args": [
        "querido-diario-mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-21 (score 57, +1)

No change was recorded against any check on this day. Stability & Change Management went from 67 to 70. That category is still filling its 30-day observation window: 20 days of observed history at the previous scan, 21 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-19 (score 56, +1)

No change was recorded against any check on this day. Stability & Change Management went from 60 to 63. That category is still filling its 30-day observation window: 18 days of observed history at the previous scan, 19 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-17 (score 55, +1)

No change was recorded against any check on this day. Stability & Change Management went from 53 to 57. That category is still filling its 30-day observation window: 16 days of observed history at the previous scan, 17 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-14 (score 54, +1)

No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-12 (score 53, +1)

No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-10 (score 52, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-09-08 (score 51, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-09-07 (score 47, −15)

- [security regression] Malware scan: pass → unverified

## MCP tools (3)

### `search_cities` (~208 tokens)

Find Brazilian municipalities indexed by Querido Diário and resolve their 7-digit IBGE territory IDs.

Call this FIRST whenever a request names a city but you don't already have its
numeric territory ID — both `get_city` and `search_gazettes` require that ID, not
a city name. For example, to answer "find gazettes about ACME in Porto Alegre",
first call search_cities(city_name="Porto Alegre") to get its territory_id, then
pass that ID to search_gazettes.

Matching is by partial, case-insensitive name similarity (as implemented by the
upstream API), not exact string equality, so it tolerates minor spelling
variation. `state_code` is an optional two-letter Brazilian state/UF filter
(e.g. "RS", "SP") applied after the upstream search, useful for disambiguating
cities that share a name across different states.

Input parameters:

- `city_name` (string, required)
- `state_code`

Output parameters:

- `cities` (array)

### `get_city` (~94 tokens)

Retrieve one Brazilian municipality by its 7-digit IBGE territory ID.

Use this when the exact territory_id is already known (from `search_cities`, or
supplied directly) and you need that city's details: name, state, Querido Diário
availability date, and known official publication URLs. If you only have a city
name, call `search_cities` instead.

Input parameters:

- `territory_id` (string, required)

Output parameters:

- `availability_date`
- `level`
- `publication_urls`
- `state_code` (string)
- `territory_id` (string)
- `territory_name` (string)

### `search_gazettes` (~418 tokens)

Search the text of published Brazilian municipal official gazettes.

Each result is one gazette (one city's official publication, one edition, one
date) with a short excerpt showing where `query` matched. This searches gazette
\*content*, not city metadata — resolve a city name to its territory_id with
\`search_cities` first.

\`query` uses OpenSearch's "simple query string syntax": bare words are OR'd
together, a leading `+` requires a term, a leading `-` excludes it, and double
quotes match an exact phrase — e.g. '"João da Silva"' for an exact name, or
'+licitação +pregão' to require both terms together. An empty query returns
matching gazettes' metadata without excerpts.

\`territory_ids` restricts the search to specific cities by their 7-digit IBGE ID
(from `search_cities` or `get_city`); omit it to search across all available
cities. `published_since` / `published_until` are inclusive ISO dates
(YYYY-MM-DD) bounding the gazette's publication date — leave both unset to search
the full available history. `size` is capped at 50 results per call; use `offset`
to page through more. `sort_by` defaults to relevance; use "descending_date" or
"ascending_date" to sort chronologically instead.

Example: to find mentions of "Empresa X" in Porto Alegre gazettes published
between January and July 2026, once territory_id "4314902" is known, call
search_gazettes(query='"Empresa X"', territory_ids=["4314902"],
published_since="2026-01-01", published_until="2026-07-31").

Input parameters:

- `offset` (integer)
- `published_since`
- `published_until`
- `query` (string)
- `size` (integer)
- `sort_by` (string)
- `territory_ids`

Output parameters:

- `gazettes` (array)
- `total_gazettes` (integer)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server#diagnostics

## Score history

- 2026-09-22: 57
- 2026-09-21: 57
- 2026-09-20: 56
- 2026-09-19: 56
- 2026-09-18: 55
- 2026-09-17: 55
- 2026-09-16: 54
- 2026-09-15: 54
- 2026-09-14: 54
- 2026-09-13: 53
- 2026-09-12: 53
- 2026-09-11: 52
- 2026-09-10: 52
- 2026-09-09: 51
- 2026-09-08: 51
- 2026-09-07: 47
- 2026-09-06: 62
- 2026-09-05: 47
- 2026-09-04: 62
- 2026-09-03: 47
- 2026-09-02: 47
- 2026-09-01: 62
- 2026-08-31: 62

## Common questions

### What is the Querido Diário MCP Server server?

Querido Diário MCP Server is listed in the public MCP registry as io.github.lucaspmgomess/querido-diario-mcp-server. Unofficial, read-only MCP server for the public Querido Diário API (Brazilian municipal gazettes). This page covers its PyPI package (querido-diario-mcp-server).

### Is the Querido Diário MCP Server server safe to use?

Querido Diário MCP Server scores 57 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 22 September 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Querido Diário MCP Server server expose?

Querido Diário MCP Server exposes 3 tools: search_cities, get_city, search_gazettes. Their descriptions and schemas cost roughly 720 tokens of context every time the server is loaded.

### Is the Querido Diário MCP Server server still maintained?

Querido Diário MCP Server is still listed as active in the MCP registry. We last reached this channel on 22 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

## Links

- PyPI project: https://pypi.org/project/querido-diario-mcp-server/
- Socket report: https://socket.dev/pypi/package/querido-diario-mcp-server
- Repository: https://github.com/lucaspmgomess/querido-diario-mcp-server
- Changelog RSS feed: https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server.xml
- Changelog JSON feed: https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server.json
- HTML version of this page: https://verifymcp.io/servers/lucaspmgomess-querido-diario-mcp-server/querido-diario-mcp-server
