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.
Pystinger is a Python-based tool that enables SOCKS4 proxying and port mapping through webshells. It…
Introduction When it comes to cybersecurity, speed and privacy are critical. Public vulnerability databases like…
Introduction When it comes to cybersecurity, speed and privacy are critical. Public vulnerability databases like…
If you are working with Linux or writing bash scripts, one of the most common…
What is a bash case statement? A bash case statement is a way to control…
Why Do We Check Files in Bash? When writing a Bash script, you often work…