Install mcp-obsidian for Claude Desktop
mainTo use this server with Claude Desktop, you must first install and enable the Obsidian REST API community plugin in Obsidian and copy your API key.
Then, edit your claude_desktop_config.json file located at:
- MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
Use the following configuration for published servers (using uvx):
{
"mcpServers": {
"mcp-obsidian": {
"command": "uvx",
"args": [
"mcp-obsidian"
],
"env": {
"OBSIDIAN_API_KEY": "<YOUR_OBSIDIAN_API_KEY>",
"OBSIDIAN_HOST": "<your_obsidian_host>",
"OBSIDIAN_PORT": "<your_obsidian_port>"
}
}
}
}Note: If Claude fails to detect uvx, use the absolute path found via which uvx.