Legal AI MCP Server
An MCP (Model Context Protocol) server for legal AI workflows, powered by OpenRouter.
Tools Available
| Tool | Description |
|---|---|
review_contract |
Review contracts for risks, missing clauses, and recommendations |
draft_contract |
Draft NDAs, service agreements, employment contracts, etc. |
legal_research |
Research legal topics, case law principles, and statutes |
summarize_document |
Summarize legal documents in brief, detailed, or executive format |
compliance_check |
Check content against GDPR, HIPAA, CCPA, SOX, and more |
Deploy to Render
- Push this repo to GitHub
- Create a new Web Service on Render
- Set:
- Build Command:
pip install -r requirements.txt - Start Command:
uvicorn main:app --host 0.0.0.0 --port $PORT
- Build Command:
- Add environment variable:
OPENROUTER_API_KEY= your OpenRouter API key
MCP Endpoint
Once deployed: https://your-service.onrender.com/mcp
Connect in n8n
In your MCP Tool node:
- URL:
https://your-service.onrender.com/mcp - Method: POST
Disclaimer
This tool provides legal information only โ not legal advice. Always consult a licensed attorney.