legalize-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GH_TOKEN | No | Enables code search; lifts rate limits (alternative to GITHUB_TOKEN). | |
| GITHUB_TOKEN | No | Enables code search; lifts rate limits. | |
| LEGALIZE_AUDIT_DIR | No | JSONL audit log location (AI Act art. 12). | ~/.matematic/audit |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| legalize_list_countriesB | List the jurisdictions available in the legalize-dev corpus. |
| legalize_search_lawsA | Search a jurisdiction's laws by keyword (GitHub code search; requires a token). |
| legalize_get_lawA | Fetch a law's metadata and full text by id (optionally at a historical commit). |
| legalize_get_metaA | Fetch only a law's frontmatter metadata (no body) - cheap for citation checks. |
| legalize_list_reformsA | List the reform history (commits) of a law - the legislative timeline. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- 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/matematicsolutions/legalize-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server