Connect an agent
Hatch ships an MCP server, so any agent that speaks MCP can search, read and write your notes.
Set it up
Add this to your MCP client config (Claude Desktop, Claude Code, Cursor):
{
"mcpServers": {
"hatch": {
"command": "npx",
"args": ["tsx", "/path/to/hatch/packages/mcp/src/cli.ts", "/path/to/your/vault"]
}
}
}
Add --read-only to hide the write tools.
Tools
- Reading:
search_notes,read_note,list_notes,list_tags, andvault_guide. The guide covers folders, tags, properties, templates, daily notes, and your filing rules. - Writing:
create_note(from a template, with properties and tags),append_to_note,add_to_section,replace_in_note,move_note(updates links), andadd_to_daily_note.
To tell agents where things go, write the rules in AGENTS.md at the vault root or in .hatch/AGENTS.md.