# MCP server for Obsidian (Python) A [[Model Context Protocol (MCP)]] server that exposes Obsidian (read, write, search, etc). This MCP server is written in Python and must be installed using [[UV (Python)]] and its `uvx` command. It also requires the [[Local REST API plugin for Obsidian]] and an API key to connect to it. ## Installation - Install [[UV (Python)]] - Install the [[Local REST API plugin for Obsidian]] - Add the MCP configuration ``` { "mcpServers": { "mcp-obsidian": { "command": "uvx", "args": [ "mcp-obsidian" ], "env": { "OBSIDIAN_API_KEY" : "<YOUR_OBSIDIAN_API_KEY>" } } } } ``` ## References - Source code and docs: https://github.com/MarkusPfundstein/mcp-obsidian ## Related - [[MCP server for Obsidian (Smithery)]]