Back to Home
ayunis-core icon

ayunis-legal-mcp

Verified Safe

by ayunis-core

Overview

A comprehensive system for searching and analyzing German legal texts using vector embeddings and semantic search, integrating with AI assistants via the Model Context Protocol.

Installation

Run Command
docker-compose up --build -d

Environment Variables

  • POSTGRES_PASSWORD
  • OLLAMA_BASE_URL
  • OLLAMA_AUTH_TOKEN
  • OLLAMA_EMBEDDING_MODEL

Security Notes

The system uses a hardcoded authentication token 'fake-super-secret-token' in `store/app/dependencies.py` for API access, which is a critical security vulnerability for any endpoints intended to be protected. The default PostgreSQL password 'postgres_password' is weak and should be changed in production. While input validation (e.g., `validate_legal_code`) and request body size limits are implemented, the easily bypassable authentication mechanism significantly lowers the overall security posture.

Similar Servers

Stats

Interest Score67
Security Score4
Cost ClassMedium
Avg Tokens2000
Stars70
Forks5
Last Update2026-01-09

Tags

Legal TechSemantic SearchFastAPIOllamaGerman Law