# LexGraph

> LexGraph is a free MCP server for legal and government. German and EU legal research over a knowledge graph of statutes, case law and commentary. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://lexgraph.de
- **MCP Registry name:** de.lexgraph/lexgraph
- **Categories:** legal and government
- **Listing updated:** 2026-11-15

## About

LexGraph connects statutes, court decisions and legal commentary into one machine-readable graph, and this server exposes that graph to assistants such as Claude and ChatGPT. Statutes are broken down to paragraph, sentence, number and letter, with internal and cross references. Commentary carries interpretations, definitions and examples drawn from court decisions, and case law is organised by area of law and type of proceeding, linked to the norms and decisions it cites.

The point of the structure is traceability: defined relationship paths are meant to reduce hallucinations and let every answer be followed back to its source. New laws, amendments and current rulings are added continuously, and the site says the free legal database is the largest in Germany.

LexGraph targets law firms, in-house legal teams, legal-tech companies and academia. Beyond the MCP server it offers a web app for manual and AI-assisted research and automated file analysis, plus an API with classifiers and embedding models. Setup guides exist for Claude, ChatGPT, Microsoft Copilot, Langdock, anymize and n8n. The site itself is in German.

## Features

- **Statute structure:** Norms split to paragraph, sentence, number and letter with cross references.
- **Case law graph:** Decisions grouped by legal area and proceeding, linked to cited norms.
- **Commentary:** Interpretations, definitions and examples from court decisions.
- **Source tracing:** Relationship paths let answers be checked back to the source.
- **Web app and API:** Manual research, file analysis, classifiers and embeddings.
- **Integration guides:** Setup guides for Claude, ChatGPT, Copilot, Langdock, anymize and n8n.

## Good for

- Back a legal brief with verifiable German sources
- Research EU and German legislation from within an AI assistant
- Trace a ruling to the norms it cites
- Run legal research in a firm's existing AI workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http lexgraph https://api.lexgraph.de/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.lexgraph.de/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "lexgraph": {
      "url": "https://api.lexgraph.de/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "lexgraph": {
      "type": "http",
      "url": "https://api.lexgraph.de/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "lexgraph": {
      "serverUrl": "https://api.lexgraph.de/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "lexgraph": {
      "type": "http",
      "url": "https://api.lexgraph.de/mcp"
    }
  }
}
```

## FAQ

### Who is it for?

Law firms, in-house legal departments, legal-tech companies and academia.

### Is the database free?

The site describes the legal database as free and the largest in Germany.

### Which assistants have setup guides?

Claude, ChatGPT, Microsoft Copilot, Langdock, anymize and n8n.

### How does it limit hallucinations?

Through defined relationship paths between norms, commentary and rulings that keep results traceable to their sources.

### Is LexGraph free?

Yes. LexGraph is free to use.

### How do I add LexGraph to Claude Code?

Run this command in your terminal: claude mcp add --transport http lexgraph https://api.lexgraph.de/mcp

### What are the best alternatives to LexGraph?

The closest alternatives to LexGraph are NY LLC Publication (FileMyPublication), TribuJus, SupplyClub Catalog, SynomosAI Governance MCP and MedXpert 标准检索连接器.

## Alternatives

- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.
- [SynomosAI Governance MCP](https://ai-powered.com/mcp/synomosai-governance-mcp-2): SynomosAI Governance MCP is an open-source MCP server for security.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [SigPen](https://ai-powered.com/mcp/sigpen): SigPen is a freemium MCP server for files and documents.
- [SOMMON Office](https://ai-powered.com/mcp/sommon-office): SOMMON Office is a paid MCP server for communication.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/lexgraph
