AnthroMesh
Local preference memory and owner escalation for AI agents, with verifiable delegation
AnthroMesh is an open-source MCP server for agent identity. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- Version
- 0.2.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add anthromesh -- uvx anthromeshAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"anthromesh": {
"command": "uvx",
"args": [
"anthromesh"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"anthromesh": {
"command": "uvx",
"args": [
"anthromesh"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"anthromesh": {
"command": "uvx",
"args": [
"anthromesh"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"anthromesh": {
"type": "stdio",
"command": "uvx",
"args": [
"anthromesh"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add anthromesh -- uvx anthromeshOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.anthromesh]
command = "uvx"
args = ["anthromesh"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"anthromesh": {
"command": "uvx",
"args": [
"anthromesh"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Or run: gemini mcp add -s user anthromesh uvx -- anthromesh
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "anthromesh": { "command": "uvx", "args": [ "anthromesh" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
ANTHROMESH_MEMORY_ONLYUse verified exact memory and owner escalation.
About AnthroMesh
AnthroMesh keeps a local SQLite vault of a person's past decisions, each stored with context, the options considered, the choice made and the rationale. When an agent asks how the owner would decide, it returns an exact recorded preference only if two agreeing records from the past 90 days exist. Otherwise it escalates to the owner instead of guessing. In memory-only mode, set with ANTHROMESH_MEMORY_ONLY=1, experimental inference is bypassed entirely.
Responses carry a validity envelope that lists evidence IDs and states that no authority is granted. Owners review pending escalations from the CLI or a local browser inbox. Consent and boundary policies, audit-chain verification, subject export and erasure, and optional SQLCipher encryption are included.
Beyond MCP over stdio and Streamable HTTP, it can run as an A2A server and offers optional OAuth resource-server and capability-token access. It also provides signed delegation grants that a relying party checks against an exact proposed action. Inference adapters cover Ollama, vLLM, OpenAI, Anthropic, Gemini and an offline heuristic. The project documents its limits openly: predicting answers to genuinely new questions is unproven, and delegation controls have not had independent review.
What it does
- Exact preference memory
- Returns a recorded choice only when two agreeing records from the last 90 days match the context and options.
- Owner escalation
- Uncertain or unmatched queries become pending tickets that the owner resolves through the CLI or a local browser inbox.
- Verifiable delegation
- Issues scoped speak or commit grants that a relying party verifies against a one-time challenge, the exact artifact and fresh revocation status.
- Local-first vault
- Stores decisions in SQLite with optional SQLCipher encryption, audit-chain checks, and subject export and erasure.
- MCP and A2A interfaces
- Serves MCP over stdio or HTTP and an A2A v1.0 server, with OAuth and capability-token options.
- Validity envelopes
- Each response states its evidence, status and recommended use, and grants no authority by itself.
- Pluggable inference adapters
- Supports Ollama, vLLM, OpenAI, Anthropic, Gemini and an offline heuristic adapter for research use.
- Evaluation harness
- Includes benchmarks and study pipelines measuring calibration, escalation performance and accuracy against baselines.
Good for
- Let a coding or scheduling agent check the owner's past choices before acting
- Route uncertain agent decisions to a human for approval
- Give an agent verifiable, revocable authority for one specific action
- Import GitHub review or calendar RSVP history as preference records
- Run reproducible studies of how well AI forecasts personal or survey answers
- Gate robot actions on recorded human preferences through a ROS 2 node
Pricing
Open source
AnthroMesh FAQ
How do I install AnthroMesh?
Install it from PyPI with python -m pip install anthromesh. Extras such as protocols, encryption, postgres, vector and survey add optional features.
When does AnthroMesh return an answer instead of escalating?
In memory-only mode it answers only when two agreeing records from the past 90 days match the context and options. Otherwise the query is escalated to the owner.
Which transports does AnthroMesh support?
MCP runs over stdio and Streamable HTTP. A2A v1.0 is served over HTTP with an agent card at /.well-known/agent-card.json.
Can AnthroMesh predict answers to new questions?
Predictive fidelity is experimental. General transfer to genuinely new questions is unverified, and a follow-up validation missed its preregistered margin.
Can data be deleted?
Yes. The erase-subject command deletes vault-managed records for a subject, prevents reimport and returns the previous and new audit checkpoints.
Is AnthroMesh free?
Yes. AnthroMesh is open source, so you can use and self-host it for free.
How do I add AnthroMesh to Claude Code?
Run this command in your terminal: claude mcp add anthromesh -- uvx anthromesh
What are the best alternatives to AnthroMesh?
The closest alternatives to AnthroMesh are Memory v2 and Axiomseal.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.