@morbidcorp/heir
v2.0.1
Published
HEIR Estate Planning MCP Server - AI-powered estate planning tools
Maintainers
Readme
@morbidcorp/heir
Model Context Protocol (MCP) server for the HEIR digital inheritance platform. Let AI coding assistants help you build estate planning solutions.
Features
- Contract Generation: Generate inheritance smart contracts for EVM, Solana, and TON
- Vault Management: Create and manage secure inheritance vaults
- Legal Documents: Generate wills, trusts, and power of attorney documents
- Jurisdiction Info: Query inheritance laws for 100+ countries
- AI Assistant: Get estate planning guidance and recommendations
Quick Start
Cursor
Or manually add to ~/.cursor/mcp.json:
{
"mcpServers": {
"heir": {
"command": "npx",
"args": ["-y", "@morbidcorp/heir", "--tools=all"],
"env": {
"HEIR_API_KEY": "YOUR_API_KEY"
}
}
}
}VS Code
Add to .vscode/mcp.json:
{
"servers": {
"heir": {
"command": "npx",
"args": ["-y", "@morbidcorp/heir", "--tools=all"],
"env": {
"HEIR_API_KEY": "YOUR_API_KEY"
}
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"heir": {
"command": "npx",
"args": ["-y", "@morbidcorp/heir", "--tools=all"],
"env": {
"HEIR_API_KEY": "YOUR_API_KEY"
}
}
}
}Claude Code
claude mcp add heir -- npx -y @morbidcorp/heir --tools=allRemote Server
Connect directly to our hosted MCP server (no install required):
{
"mcpServers": {
"heir": {
"url": "https://mcp.heir.es"
}
}
}Available Tools
Contracts
heir_contract_list_templates- List available inheritance templatesheir_contract_generate- Generate a smart contractheir_contract_estimate_gas- Estimate deployment costs
Vaults
heir_vault_list- List your vaultsheir_vault_get- Get vault detailsheir_vault_create- Create a new vaultheir_vault_update- Update vault configuration
Jurisdictions
heir_jurisdiction_list- List supported countriesheir_jurisdiction_get- Get country detailsheir_jurisdiction_compare- Compare jurisdictionsheir_jurisdiction_search- Search by features
Legal Documents
heir_legal_generate_will- Generate a willheir_legal_generate_trust- Generate a trust documentheir_legal_generate_poa- Generate power of attorneyheir_legal_list_templates- List document templates
AI Chat
heir_chat_estate_planning- Ask estate planning questionsheir_chat_explain_template- Explain legal frameworksheir_chat_recommend_plan- Get personalized recommendations
Authentication
Get your API key at heir.es/developers.
# Via environment variable
export HEIR_API_KEY=heir_pk_xxx
npx @morbidcorp/heir --tools=all
# Via command line
npx @morbidcorp/heir --tools=all --api-key=heir_pk_xxxSelective Tools
Enable only specific tool categories:
# Only contracts and jurisdictions
npx @morbidcorp/heir --tools=contracts,jurisdictions
# Everything
npx @morbidcorp/heir --tools=allDocumentation
Support
- Email: [email protected]
- Telegram: @heir_es
- GitHub: heirlabs/heir-mcp
License
MIT
