Obsidian logo

Obsidian

Community
Vasallo94

Vault-native MCP server for Obsidian: let Codex, Claude Code, Hermes, and other agents read, search, and safely manage your notes.

PublisherVasallo94
Repositoryobsidian-mcp-server
LanguagePython
Forks
1
Stars
10
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Obsidian exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    10 stars and 1 forks from the linked repository.

Obsidian MCP Server

License: MIT Python 3.11+ MCP Compatible Obsidian Integration Claude Code Codex Custom Skills

An MCP (Model Context Protocol) server that lets AI agents work inside an Obsidian vault: read notes, search context, inspect links, follow vault-specific rules, and optionally create or edit notes safely.

It is designed for clients and harnesses such as Codex, Claude Code, Hermes, and Claude Desktop. The core stays reusable; each vault can layer its own profiles, rules, skills, and optional tool sets on top.

Tools are generic. Behavior comes from the vault.

Example Obsidian vault graph generated through the MCP server


Features

Public Core

The core tool set is always available and stays vault-agnostic:

  • Vault diagnostics, task routing, and MCP client root inspection.
  • Note listing, reading, metadata inspection, and search.
  • Vault context resources for profiles, skills, standards, and local docs.
  • Core prompts for structured notes, template usage, and context exploration.

Optional Tool Sets

Optional packs are enabled explicitly from .agents/vault.yaml or OBSIDIAN_MCP_TOOL_SETS:

  • notes_write: Create, patch, move, and delete notes.
  • vault_analysis: Vault statistics, tags, links, backlinks, and graph tools.
  • agents_admin: Skill creation, validation, and cache management.
  • youtube: Transcript extraction.
  • obsidianrag: Semantic search through the external ObsidianRAG service.
  • canvas / kanvas: Canvas and workflow helpers.
  • Profile packs: Personal workflows only when a vault profile opts in.

Design Principles

  • Public core, personal profiles: The repository remains reusable; local workflows live in vault configuration and resources.
  • English technical surface: Tool names, prompt names, docs, and code identifiers are English.
  • Safe by default: Write tools are opt-in, protected paths are blocked, and large reads are capped.
  • External RAG by integration: Advanced semantic search delegates to ObsidianRAG instead of duplicating a RAG stack inside the MCP server.

Quick Start

Prerequisites

  • uv
  • An Obsidian vault path you are comfortable exposing to an MCP client

Beta install from Git

Until the package is published to PyPI, install directly from GitHub with uvx:

bash
uvx --from git+https://github.com/Vasallo94/obsidian-mcp-server.git obsidian-mcp-server

For Codex, add this to ~/.codex/config.toml:

toml
[mcp_servers.obsidian]
command = "uvx"
args = [
  "--from",
  "git+https://github.com/Vasallo94/obsidian-mcp-server.git",
  "obsidian-mcp-server",
]
startup_timeout_sec = 30
tool_timeout_sec = 120

[mcp_servers.obsidian.env]
OBSIDIAN_VAULT_PATH = "/absolute/path/to/your/vault"

For Claude Code, Hermes, Claude Desktop, and MCPB setup, see Installation.

Local development

bash
git clone https://github.com/Vasallo94/obsidian-mcp-server.git
cd obsidian-mcp-server
make install
cp .env.example .env
# Set OBSIDIAN_VAULT_PATH to the absolute path to your Obsidian vault
uv run obsidian-mcp-server

Once the package is published to PyPI, client configs can use:

bash
uvx obsidian-mcp-server

Usage

Optional Tool Sets

Enable optional tools from the client environment:

json
{
  "env": {
    "OBSIDIAN_VAULT_PATH": "/Absolute/Path/To/Your/Vault",
    "OBSIDIAN_MCP_TOOL_SETS": "notes_write,vault_analysis,obsidianrag"
  }
}

Or declare them in your vault profile:

yaml
profile:
  name: "my_profile"
  prompt_sets:
    - "mermaid"
  tool_sets:
    - "notes_write"
    - "vault_analysis"
  standards:
    media: "Standards/Media.md"
  local_docs:
    index: "README.md"

ObsidianRAG Integration

For semantic vault search, enable the obsidianrag tool set and declare the integration:

yaml
profile:
  tool_sets:
    - "obsidianrag"
  integrations:
    obsidianrag:
      project_path: "/path/to/ObsidianRAG"
      api_url: "http://127.0.0.1:8000"
      env:
        OBSIDIANRAG_LLM_MODEL: "gemma3"
        OBSIDIANRAG_OLLAMA_EMBEDDING_MODEL: "embeddinggemma"

Then read obsidian://integrations/obsidianrag/setup or call rag.setup_status. Agents should show setup commands before installing dependencies, starting services, pulling models, or rebuilding the index.

Technical Documentation

To dive deeper into how the server works and how to customize it, check our detailed guides located in the docs/ folder:

  1. Documentation Home: Wiki-style map of the project docs.
  2. Installation: Setup for Codex, Claude Code, Hermes, Claude Desktop, and MCPB.
  3. Architecture: Runtime architecture, tool sets, resources, prompts, and security model.
  4. Tool Reference: Complete list of public MCP tools.
  5. Server Configuration: Environment variables, vault profiles, tool sets, and integrations.
  6. Agent Setup: How to organize your vault (.agents/) with skills and contextual rules.
  7. Semantic Search: ObsidianRAG integration and legacy RAG migration notes.
  8. Agent Feedback: How agents can report MCP friction with AFP out-of-band.
  9. Future Roadmap: Planned improvements and next steps for the server.

For contribution, release, and security process, see CONTRIBUTING.md, SECURITY.md, and Release Checklist.


Development & Quality

CommandDescription
make testRun the test suite (pytest)
make lintRun static checks (Ruff + Pyright)
make formatAutomatically format code
make devRun the MCP server locally

License

This project is licensed under the MIT License.

Use Obsidian MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Obsidian is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Obsidian as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Obsidian MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "vasallo94-obsidian-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Obsidian MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Obsidian MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Obsidian to help me with this task?
Obsidian
Sure. I read it.
Here is what I found using Obsidian.

Frequently asked questions

What is the Obsidian MCP server used for?

Obsidian is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Obsidian MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Obsidian with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Obsidian MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Obsidian connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Obsidian MCP to TypingMind?

Obsidian runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Obsidian MCP provide in TypingMind?

Obsidian exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Obsidian MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Obsidian requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇