Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"heu": {
"env": {
"HEU_API_KEY": "la_tua_api_key_qui"
},
"args": [],
"command": "heu-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server (Model Context Protocol) per integrare l'API HEU Legal con Claude (Claude Desktop, Claude Code, e altri client MCP). Gestisce documenti nativi HEU e PDF firmabili end-to-end via conversazione: creazione, condivisione per firma elettronica (valida in 180+ paesi), sollecito firmatari, download PDF.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
uvx 'heu-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked heu-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in other
Pi Coding Agent extension (CLI-first) — routes bash/read/grep/find/ls through lean-ctx CLI for strong token savings. Optional MCP bridge can register advanced tools.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
97% token reduction for AI coding sessions — zero deps, 21 languages, MCP server
Autonomous spec-to-product coding-agent CLI with an MCP server exposing 34 tools over stdio.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Lucav21/heu-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server (Model Context Protocol) per integrare l'API HEU Legal con Claude (Claude Desktop, Claude Code, e altri client MCP). Gestisce documenti nativi HEU e PDF firmabili end-to-end via conversazione: creazione, condivisione per firma elettronica (valida in 180+ paesi), sollecito firmatari, download PDF.
18 tool che coprono l'intera API HEU v1 più lettura contenuto e estrazione strutturata delle parti:
Documenti nativi HEU — list_heu_documents, get_heu_document, list_heu_document_placeholders, create_heu_document, prompt_heu_document_signature, extract_heu_document_parties, read_heu_document, download_heu_document_pdf
PDF caricati — list_pdf_documents, get_pdf_document, list_pdf_document_signers, list_pdf_document_signer_placeholders, list_pdf_document_placeholders, create_pdf_document, extract_pdf_document_parties, read_pdf_document, prompt_pdf_document_signature
Health — get_heu_health
Per ciascun tipo di documento esistono due modalità complementari:
| Tool | Cosa fa | Quando usarlo |
|---|---|---|
read_heu_document / read_pdf_document | Estrae il testo del PDF e lo restituisce direttamente nella conversazione | Quando vuoi che Claude legga il documento (riassumere, cercare clausole, confrontare) |
download_heu_document_pdf | Salva il PDF su disco e ritorna il path | Quando ti serve il file fisico (archiviarlo, allegarlo a un'email, stamparlo) |
I tool di lettura accettano un parametro opzionale pages per leggere solo un range (es. "1-3", "5", "1,3,5-7"). Senza pages leggono fino a un massimo di 100 pagine.
pip install heu-mcp
git clone https://github.com/Lucav21/heu-mcp.git
cd heu-mcp
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Modifica ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) o %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"heu": {
"command": "heu-mcp",
"args": [],
"env": {
"HEU_API_KEY": "la_tua_api_key_qui"
}
}
}
}
Se hai installato da sorgenti con venv:
{
"mcpServers": {
"heu": {
"command": "/path/assoluto/heu-mcp/venv/bin/python",
"args": ["/path/assoluto/heu-mcp/server.py"],
"env": {
"HEU_API_KEY": "la_tua_api_key_qui"
}
}
}
}
Riavvia Claude Desktop dopo la modifica.
claude mcp add heu heu-mcp -e HEU_API_KEY=la_tua_api_key_qui
| Variabile | Descrizione | Default |
|---|---|---|
HEU_API_KEY | API key HEU Legal (richiesto) | — |
HEU_BASE_URL | URL base API | https://api.heulegal.com/v1 |
HEU_DOWNLOAD_DIR | Cartella dove salvare i PDF scaricati | /tmp |
Dopo aver configurato il MCP, chiedi a Claude:
read_heu_document)