leis-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEIS_MCP_HOME | No | Directory where leis-mcp stores its data. Defaults to ~/.cache/leis-mcp. | ~/.cache/leis-mcp |
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 publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| buscar_normaA | Localiza uma norma e devolve metadados do cabeçalho (título, ementa, data, revogada, versão do texto), caminho no repositório e link oficial da fonte. |
| ler_artigoA | Devolve o texto exato de um artigo (ou parágrafo, inciso, alínea), com o caput como contexto, link da fonte e avisos de revogação ou texto não compilado. |
| buscar_textoA | Busca um termo dentro de uma norma, ou nas normas já em cache local, indicando o artigo de cada ocorrência. |
| listar_normasA | Navega pelo acervo: sem filtros devolve contagens por esfera; com esfera, por tipo; com tipo, por ano; com ano, lista as normas. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| apelidos | Apelidos de leis aceitos pelas ferramentas. |
TDQS
Scored across 4 tools
The four tools target distinct retrieval actions: locating a norm, reading a specific article, searching within text, and browsing the collection. There is slight potential overlap between buscar_norma and listar_normas for discovering norms, but the descriptions make their roles sufficiently clear.
All tool names follow a consistent Portuguese verb_noun pattern in snake_case: buscar_norma, ler_artigo, buscar_texto, listar_normas. The repeated verb buscar is used predictably for two different search scopes.
Four tools is a well-scoped set for a legal norm retrieval server. Each tool covers a distinct core operation, and none appears redundant or merely decorative.
The surface covers the main read-only workflows: browsing norms, locating a norm, reading an article, and searching text. A minor gap is the lack of a direct way to retrieve an entire norm or list its article structure without relying on search or known article numbers.