Back to Home
ayunis-core icon

ayunis-legal-mcp

Verified Safe

by ayunis-core

Overview

Semantic search and retrieval of German legal texts for AI assistants.

Installation

Run Command
docker-compose up -d

Environment Variables

  • POSTGRES_PASSWORD
  • OLLAMA_BASE_URL
  • OLLAMA_AUTH_TOKEN

Security Notes

The project demonstrates strong security awareness, with explicit input validation (regex for legal codes, length limits), request size limits, and a global exception handler that hides details in production. Database interactions use SQLAlchemy ORM to prevent SQL injection. A comprehensive `SECURITY.md` outlines best practices for deployment. However, it explicitly states current limitations for a public API: no rate limiting (vulnerable to DoS) and no authentication, which are critical for public-facing deployments. The default `POSTGRES_PASSWORD` and empty `OLLAMA_AUTH_TOKEN` in configuration require user attention for production. The basic X-Token validation is noted as a simple example, not production-ready.

Similar Servers

Stats

Interest Score63
Security Score8
Cost ClassHigh
Avg Tokens2000
Stars22
Forks0
Last Update2025-12-02

Tags

Legal TechAISemantic SearchFastAPIpgvectorDocker