Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GH_TOKENNoEnables code search; lifts rate limits (alternative to GITHUB_TOKEN).
GITHUB_TOKENNoEnables code search; lifts rate limits.
LEGALIZE_AUDIT_DIRNoJSONL audit log location (AI Act art. 12).~/.matematic/audit

Capabilities

Features and capabilities supported by this server

CapabilityDetails
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

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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