$ timeahead.in
mcp/huangyiheobsidian-mcp/install/claude-code

install @huangyihe/obsidian-mcp on Claude Code

Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register @huangyihe/obsidian-mcp.

run this in your terminal
cli: Run the command below in your terminal — Claude Code persists it for you.
claude mcp add obsidian-mcp --env OBSIDIAN_VAULT_PATH=/path/to/your/vault --env OBSIDIAN_API_TOKEN=your_api_token --env OBSIDIAN_API_PORT=27123 -- npx @huangyihe/obsidian-mcp
then: No reload needed — the next session picks up the new server.
other clients
Claude DesktopCursorWindsurfVS Code (Copilot)
← back to @huangyihe/obsidian-mcp