Agent♥︎Age
Catalog

io.github.Kevinx702/legalcite

Official

by Kevinx702 · JavaScript

Verify legal case citations against real court records; flag fake/hallucinated cites.

io.github.Kevinx702/legalcite (MCP)

This MCP server validates legal case citations found in text. It checks whether citations match real court records and flags hallucinated, fake, or misattributed case references using CourtListener data.

🛠️ Key Features

  • Verifies legal case citations against real court records
  • Flags fake/hallucinated and misattributed citations
  • Uses CourtListener (Free Law Project) as the underlying data source
  • Exposes citation verification via MCP: verify_citations(text)

🚀 Use Cases

  • Detect hallucinated legal case citations in generated or authored legal text
  • Verify that referenced cases correspond to actual U.S. court records (CourtListener)

⚡ Developer Benefits

  • Provides verify_citations(text) for MCP-integrated workflows
  • Uses a REST API for verification as well (e.g., GET /api/verify?text=<paragraph> or citation-specific queries)

⚠️ Limitations

  • Verification depends on CourtListener’s public U.S. court records as the source of truth

Related servers

More in Security