LeXML-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEXML_SRU_URL | No | SRU endpoint | https://www.lexml.gov.br/busca/SRU |
| LEXML_TIMEOUT | No | HTTP request timeout (seconds) | 15.0 |
| LEXML_CACHE_TTL | No | Cache TTL (seconds) | 300 |
| LEXML_URN_TEMPLATE | No | URN resolution template | https://www.lexml.gov.br/urn/{urn} |
| LEXML_CACHE_MAXSIZE | No | Max cache entries | 256 |
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
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lexml_searchA | Search the LexML SRU acervo. Args: query: CQL query string (e.g. 'dc.title any "constituição"') start_record: First record position (default 1) maximum_records: Max records to return (default 10, max 100) record_schema: Record schema (default 'dc', allowed: dc, oai_dc) filters: Structured filters {title, terms[], document_type, authority, date_from, date_to}. Mutually exclusive with query. When provided, generates safe CQL. |
| lexml_resolve_urnA | Resolve a LexML URN to its public URL. Args: urn: LexML URN (e.g. 'urn:lex:br:federal:lei:1990-09-11;8078') verify: If True, follow redirects and validate final host (SSRF guard). Default False — only constructs the URL without network call. |
| lexml_explainA | Retrieve metadata about the LexML SRU service (explain operation). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| explain_resource | Return cached explain data from the SRU service. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/prof-ramos/LeXML-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server