独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

ayunis-core/ayunis-legal-mcp

An MCP server for German legal codes

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:git clone

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Legal MCP - German Legal Texts Search System

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

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
Architecture
Quick Start
CLI Tool
Environment Configuration
API Documentation
Legal Text Features
XML Parser
Development
Docker Commands
Troubleshooting
Project Structure
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 documentation
🌍 Multi-jurisdiction model - Source/document identity and jurisdiction-wide search
🐳 Docker Support - Easy deployment with containerization
### MCP Server Features
🔧 FastMCP - Modern MCP server implementation
🤝 AI Assistant Integration - Provides tools for querying legal texts
🔌 HTTP API Client - Connects to Store API for data access
### CLI Tool Features
📋 List Commands - View imported codes and available catalog
📥 Import Commands - Import legal codes with progress indication
🔍 Query Commands - Retrieve texts by code, section, and sub-section
🔎 Search Commands - Semantic search with similarity scoring
📊 Multiple Output Formats - Table view or JSON output
⚙️ Configurable - Custom API URL support via flag or environment variable
## Architecture
┌──────────────────────────────────────────────────┐
│ │
│ Docker Network: legal-mcp-network │
│ │
│ ┌────────────────┐ │
│ │ MCP Server │ :8001 │
│ │ (FastMCP) │ │
│ └───────┬────────┘ │
│ │ │
│ │ LEGAL_API_BASE_URL │
│ │ http://store-api:8000 │
│ │ │
│ ▼ │
│ ┌────────────────┐ │
│ │ Store API │ :8000 │
│ │ (FastAPI) │ │
│ └───────┬────────┘ │
│ │ │
│ │ DATABASE_URL │
│ │ postgresql://postgres:5432 │
│ │ OLLAMA_BASE_URL │
│ │ │
│ ▼ │
│ ┌────────────────┐ │
│ │ PostgreSQL │ :5432 │
│ │ + pgvector │ │
│ └────────────────┘ │
│ │
└──────────────────────────────────────────────────┘
│ External Ollama Service
│ (for embeddings)
┌────────────────┐
│ Ollama API │
│ (Remote/Local)│
└────────────────┘
## Quick Start
### Prerequisites
Docker and Docker Compose
Ollama (local or remote endpoint for embeddings)
Git
> ⚠️ Important: Ollama Embedding Model
> By default, this project uses the embedding model: ryanshillington/Qwen3-Embedding-4B:latest
> You must pull this model (or your configured alternative) before importing legal texts:
> bash
> ollama pull ryanshillington/Qwen3-Embedding-4B:latest
> You can use a different model by setting the OLLAMA_EMBEDDING_MODEL environment variable, but the model must produce 2560-dimensional vectors. Using a model with different dimensions will cause errors, as the database schema is fixed at 2560 dimensions. Changing to a model with different dimensions would require database schema modifications and re-importing all legal texts.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ayunis-core-ayunis-legal-mcp/)
来源
awesome · https://github.com/ayunis-core/ayunis-legal-mcp
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引