Legalis Ia

by edsonsousa

212 downloads Not rated yet
GitHub

About

O Legalis MCP traz todo o fluxo de trabalho jurídico da sua area de trabalho. Advogados podem criar e gerenciar casos, gerar peças processuais profissionais seção por seção com IA, conduzir entrevistas guiadas de intake processual e monitorar o uso de cota — sem sair da conversa.

Explore

- List, create, update, search, and retrieve cases
- Manage legal documents (peças processuais) per case
- AI-generate document sections (fatos, fundamentos, pedidos)
- Run an AI-guided case intake interview
- Search Brazilian legislation via LexML
- Check AI quota and billing usage

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Legalis Ia
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

pip install legalis-mcp

Add to your Claude configuration (~/.claude/claude_desktop_config.json for Claude Desktop, or claude_code_config.json for Claude Code):

json
{
"mcpServers": {
"legalis": {
"command": "legalis-mcp",
"args": ["serve"]
}
}
}
``

| Variable | Default | Description |
|----------|---------|-------------|
|
LEGALIS_API_URL | https://hai-production-612f.up.railway.app | Backend URL |
|
LEGALIS_ACCESS_TOKEN | — | Pre-issued token (CI/test only) |
|
LEGALIS_REFRESH_TOKEN | — | Refresh token (CI/test only) |
|
LEGALIS_CREDENTIALS_FILE | ~/.legalis/credentials.json | Credentials file path |
|
LEGALIS_OAUTH_PORT | 3742` | Local OAuth callback port |

---

list_cases

List cases (paginated, filterable by status)

get_case

Get case details by ID

create_case

Create a new case

update_case

Update case fields

search_cases

Full-text search across cases

list_legal_documents

List peças processuais for a case

get_legal_document

Get a document with all sections

create_legal_document

Create a new legal document

generate_section

AI-generate a document section (fatos, fundamentos, pedidos…)

get_case_context

Get case context (facts, parties, evidence)

run_interview

AI-guided case intake interview

search_legislation

Search Brazilian legislation (LexML)

get_my_usage

Check AI quota and billing period usage

| Tool | Description |
|------|-------------|
| list_cases | List cases (paginated, filterable by status) |
| get_case | Get case details by ID |
| create_case | Create a new case |
| update_case | Update case fields |
| search_cases | Full-text search across cases |
| list_legal_documents | List peças processuais for a case |
| get_legal_document | Get a document with all sections |
| create_legal_document | Create a new legal document |
| generate_section | AI-generate a document section (fatos, fundamentos, pedidos…) |
| get_case_context | Get case context (facts, parties, evidence) |
| run_interview | AI-guided case intake interview |
| search_legislation | Search Brazilian legislation (LexML) |
| get_my_usage | Check AI quota and billing period usage |

---

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "legalis ia": {
            "legalis-mcp": {
                "command": "uv",
                "args": [
                    "tool",
                    "install",
                    "legalis-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "legalis-mcp": {
        "command": "uv",
        "args": [
            "tool",
            "install",
            "legalis-mcp"
        ]
    }
}

Legalis MCP Server

Assistente jurídico com IA para advogados brasileiros

> Leia em Português

MCP (Model Context Protocol) server for Legalis — Brazilian legal document AI for attorneys.

Connect Claude (or any MCP-compatible client) to your Legalis account and interact with cases, generate legal documents, search legislation, and more using natural language.

---

Quick start

1. Install

```bash
pip install legalis-mcp

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.