Skip to content
Projets

À propos

Fast MCP server for local Obsidian vault usage by AI Agents

Productivité et automatisation

Comment ces chiffres sont mesurés

What you can do

  • Navigate - List files, tree view, vault stats - vault_list, vault_info
  • Read and write - Create, read, overwrite, append, prepend, move and delete notes; bounded batch reads - note_read, note_read_many, note_create, note_write, note_insert, note_move, note_delete
  • Patch - Edit a heading section, block reference or frontmatter field without touching the rest of the note - note_patch, note_inspect, frontmatter
  • Search - BM25 full-text with stemming and fuzzy matching, semantic search with local or API embeddings, regex, tags and frontmatter - search_text, search_semantic, search_regex, search_metadata

Progression mesurée des étoiles

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

obsidian-mcp

CI Crates.io License: MIT

An MCP server that gives AI agents full read/write access to Obsidian vaults. Written in Rust, shipped as a single binary.

No Obsidian plugins. No REST API. No Obsidian running. Use a local folder or an SFTP vault.

Why

Other ways of connecting AI to Obsidian need the Obsidian app running with a community plugin (obsidian-local-rest-api) and an MCP wrapper (mcp-obsidian) on top. That's fragile, slow, and limited to what the REST API exposes.

obsidian-mcp reads and writes vault files directly and understands the Obsidian format natively: wikilinks, frontmatter, tags, block references, periodic notes and the link graph. Search indexes and embedding caches stay on the machine running the server.

Quick start

  1. Install:

    cargo install obsidian-mcp
    

    Pre-built binaries are on GitHub Releases. For semantic search, see Installation.

  2. Add it to your MCP client. For example, in Cursor's ~/.cursor/mcp.json or Claude Desktop's claude_desktop_config.json:

    {
      "mcpServers": {
        "obsidian": {
          "command": "obsidian-mcp",
          "args": ["/path/to/your/vault"]
        }
      }
    }
    

    Or with Claude Code:

    claude mcp add obsidian -- obsidian-mcp /path/to/your/vault
    
  3. Reconnect the client and ask it to list your vault.

What it can do

Area Capabilities Tools
Navigate List files, tree view, vault stats vault_list, vault_info
Read and write Create, read, overwrite, append, prepend, move and delete notes; bounded batch reads note_read, note_read_many, note_create, note_write, note_insert, note_move, note_delete
Patch Edit a heading section, block reference or frontmatter field without touching the rest of the note note_patch, note_inspect, frontmatter
Search BM25 full-text with stemming and fuzzy matching, semantic search with local or API embeddings, regex, tags and frontmatter search_text, search_semantic, search_regex, search_metadata
Graph Backlinks, outgoing links, broken links, orphans wikilinks
Periodic notes Daily, weekly, monthly, quarterly and yearly notes with Obsidian-compatible formats and templates periodic
Obsidian Open a note in the app open_in_obsidian

Indexes update as files change. See the tool reference for parameters and output formats.

Common setups

  • Share one server across agents. Run obsidian-mcp serve /path/to/vault and point clients at http://127.0.0.1:37842/mcp. See Clients and transports.
  • Search by meaning. Install with an embedding feature and use a local model or any OpenAI-compatible endpoint. See Semantic search.
  • Use a vault on another machine. Run obsidian-mcp sftp://vault-server/home/alice/notes with your existing OpenSSH setup. See Remote vaults.
  • Give assistants different permissions. Run obsidian-mcp access setup /path/to/vault. See Authenticated clients.
  • Run as a service. See launchd and systemd.
  • Upgrade. Run obsidian-mcp upgrade. See Upgrading.

Documentation

License

MIT. For suspected vulnerabilities, follow the security reporting policy.

Explorer des projets similaires

Chargement…