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.
Docker is a powerful open-source containerization platform that allows developers to build, test, and deploy…
Docker is one of the most widely used containerization platforms. But there may come a…
Introduction Google Dorking is a technique where advanced search operators are used to uncover information…
Introduction In cybersecurity and IT operations, logging fundamentals form the backbone of monitoring, forensics, and…
What is Networking? Networking brings together devices like computers, servers, routers, and switches so they…
Introduction In the world of Open Source Intelligence (OSINT), anonymity and operational security (OPSEC) are…