Tools
Seven tools the Moonlit MCP server exposes to Claude. The model picks which one to use; the lawyer just asks the question.
keyword_search
Find documents by exact words, phrases, or boolean expressions. Best when the citation, ECLI, CELEX, or article number is already known.
hybrid_search_reranked
Find documents using a natural-language question. Combines keyword and semantic search and reranks for precision. Best for conceptual research where the wording varies. Slower than keyword search; more accurate on complex questions.
reference_search
Find documents that cite a given regulation or judgment, or documents it cites. Useful for understanding how a provision has been applied across the Moonlit Data Layer.
get_filters
Return the canonical lists for jurisdictions, portals, document types, fields of law, and sources. The model uses these to scope searches accurately. Lawyers don't call this directly.
retrieve_document
Return a document's full text and metadata: title, date, jurisdiction, source, AI summary, and the source URL to the original document at the publisher. Use after a search to read or quote a document in full.
get_document_articles
Return the article-level structure of a composite document such as the GDPR or the AI Act. Used to locate a specific article inside a regulation.
convert_to_celex
Resolve an EU directive or regulation given as (year, number) to its canonical CELEX identifier. Example: (regulation, 2016, 679) returns 32016R0679, the GDPR.