Lexbase MCP
An official MCP server for Lexbase that enables AI assistants to search Portuguese consolidated legislation, retrieve exact articles, diplomas, and amendments, and verify citations against the official Diário da República. It supports semantic and lexical search to find articles by meaning, ensuring accurate legal citations with validity dates.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://api.lexbase.pt/mcpChecks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to lexbase.pt ·
- Passed Endpoint is on the registry namespace domain ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Search Portuguese legislation by semantic meaning or keywords
- Retrieve the exact text of an in-force legal article
- Get details about a specific legal diploma or decree
- Verify legal citations against the official Diário da República
Source and maintenance
Tools
Reported by the attributed source; not independently observed by Koskamo.
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-07: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 645 ms
- 95th percentile latency
- 645 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 645 ms · metadata changed · refuses unauthenticated initialize (HTTP 401)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http lexbase-mcp https://api.lexbase.pt/mcpCodex
codex mcp add lexbase-mcp --url https://api.lexbase.pt/mcpCursor
{
"mcpServers": {
"lexbase-mcp": {
"url": "https://api.lexbase.pt/mcp"
}
}
}Cline
{
"mcpServers": {
"lexbase-mcp": {
"type": "streamableHttp",
"url": "https://api.lexbase.pt/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"lexbase-mcp": {
"type": "http",
"url": "https://api.lexbase.pt/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http lexbase-mcp https://api.lexbase.pt/mcpClaude Desktop
https://api.lexbase.pt/mcpWindsurf
{
"mcpServers": {
"lexbase-mcp": {
"serverUrl": "https://api.lexbase.pt/mcp"
}
}
}Let your agent find its tools
Find servers like Lexbase MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Lexbase MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.