The MCP (Model Context Protocol) server for Obsidian is designed to bridge the gap between AI assistants like Claude and Obsidian knowledge bases.
This integration allows AI models to interact with Obsidian notes securely and locally, leveraging the Obsidian Local REST API plugin.
The MCP server implements several tools to facilitate interaction with Obsidian vaults:
To utilize these tools effectively, you can instruct Claude to use Obsidian with prompts like:
To configure the environment, you need to set up the Obsidian REST API Key. This can be done in two ways:
{ "mcp-obsidian": { "command": "uvx", "args": [ "mcp-obsidian" ], "env": { "OBSIDIAN_API_KEY": "<your_api_key_here>" } } }.env file in the working directory. textOBSIDIAN_API_KEY=your_api_key_here~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add the MCP server configuration.For development and debugging purposes, ensure that dependencies are up-to-date and use tools like the MCP Inspector for a better debugging experience. The MCP Inspector can be launched via npm to monitor server logs and interactions.
bashnpx @modelcontextprotocol/inspector uv --directory /path/to/mcp-obsidian run mcp-obsidian This setup allows developers to refine the MCP server’s functionality and troubleshoot issues efficiently.
Learning Without Walls Remote education has long been a lifeline for students in rural areas…
Have you ever come across a picture on the internet and wondered where it came…
Overview WhatsMyName is a free, community-driven OSINT tool designed to identify where a username exists…
Managing disk usage is a crucial task for Linux users and administrators alike. Understanding which…
Efficient disk space management is vital in Linux, especially for system administrators who manage servers…
Knowing how to check directory sizes in Linux is essential for managing disk space and…