up-law-argleg-mcp

up-law-argleg-mcp

MCP server that provides access to Argentine legal documents (legislation, CSJN jurisprudence, international treaties) with verifiable provenance including SHA256 hashes and source URLs, enabling legal professionals to search and verify citations.

Category
Visit Server

README

up-law-argleg-mcp

Servidor MCP que expone el corpus legal de la base up_law_argleg_db (legislacion nacional argentina + jurisprudencia CSJN + tratados internacionales de Cancilleria) a Claude, con proveniencia verificable en cada respuesta: el abogado puede rastrear cada texto al documento oficial capturado (sha256 + fecha + URL de InfoLEG) y auditar cualquier cita textual con el tool verificar_cita.

Requisitos

  • Docker Desktop (Postgres 16 + pgvector via docker compose del proyecto infoleg)
  • Python >= 3.12 y uv
  • La base up_law_argleg_db cargada (ver proyecto hermano ../infoleg)

Instalacion (macOS / Windows)

# 1. base con pgvector (en el proyecto infoleg)
cd ../infoleg && docker compose up -d

# 2. dependencias
cd ../mcp-v2 && uv sync

# 3. schema mcp + roles (idempotente)
uv run up-law-argleg-mcp setup-db

# 4. embeddings (primera vez: 2-4 h; incrementales: minutos)
uv run up-law-argleg-mcp index

# 5. smoke
uv run up-law-argleg-mcp status

Claude Desktop

Agregar a claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\):

{
  "mcpServers": {
    "up_law_argleg": {
      "command": "uv",
      "args": ["run", "--directory", "/RUTA/ABSOLUTA/a/mcp-v2", "up-law-argleg-mcp", "serve"]
    }
  }
}

En Windows la ruta usa barras invertidas escapadas: C:\\Users\\...\\mcp-v2.

Operacion

  • Tras cada sync mensual del ETL infoleg: uv run up-law-argleg-mcp index.
  • uv run up-law-argleg-mcp status muestra frescura y cobertura.
  • Tests: uv run pytest (unit) | uv run pytest -m live (requiere base) | uv run pytest -m model (carga el modelo de embeddings).

Garantia de fidelidad

  • El servidor se conecta con un rol de solo lectura (mcp_reader).
  • Los tools devuelven texto verbatim; el servidor jamas resume.
  • Cada texto viaja con bloque fuente (sha256 del documento oficial, fecha de captura, URL, offsets).
  • verificar_cita confirma si una cita existe literalmente en el corpus, y detecta citas casi-correctas mostrando el diff contra el texto real.
  • La base no determina vigencia: expone el grafo de modificaciones y las observaciones de InfoLEG; el analisis juridico es del profesional.

Créditos

Proyecto de la Facultad de Derecho de la Universidad de PalermoPalermo E-Law / Innovation Hub.

Equipo: Hernán Quadri, Juan Cruz Romano, Aníbal Ramírez y Guido Barosio.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured