German Legal Texts Search System - MCP Server
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"iflow-mcp-ayunis-core-legal-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# Legal MCP - German Legal Texts Search System [](https://opensource.org/licenses/MIT) [](https://www.python.org/downloads/) [](https://fastapi.tiangolo.com/) [](https://www.docker.com/) A comprehensive system for searching and analyzing German legal texts using vector embeddings and semantic search, consisting of: - **Store API**: FastAPI backend with PostgreSQL, pgvector, and Ollama embeddings - **MCP Server**: FastMCP server providing tools for AI assistants to query legal texts - **CLI Tool**: Command-line interface for importing and querying legal texts - **Web Scraper**: Automatic extraction of legal texts from gesetze-im-internet.de - **XML Parser**: Comprehensive parser for German legal XML format (gii-norm.dtd) ## Table of Contents - [Features](#features) - [Architecture](#architecture) - [Quick Start](#quick-start) - [CLI Tool](#cli-tool) - [Environment Configuration](#environment-configuration) - [API Documentation](#api-documentation) - [Legal Text Features](#legal-text-features) - [XML Parser](#xml-parser) - [Development](#development) - [Docker Commands](#docker-commands) - [Troubleshooting](#troubleshooting) - [Project Structure](#project-structure) - [Technology Stack](#technology-stack) ## Features ### Store API Features - 🗄️ **PostgreSQL + pgvector** - Vector database for semantic search - 🤖 **Ollama Integration** - Generate embeddings for legal texts - 🌐 **Web Scraping** - Automatic extraction from gesetze-im-internet.de - 📄 **XML Parsing** - Comprehensive parser for German legal XML format - 🔍 **Semantic Search** - Vector-based similarity search for legal texts - 📊 **Metadata Tracking** - Full document metadata and versioning - 📝 **RESTful API** - FastAPI with automatic docu…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.