lstpsche/obsidian-mcp
Acerca de
Fast MCP server for local Obsidian vault usage by AI Agents
Productividad y automatizaciónWhat 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
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Originalobsidian-mcp
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
Install:
cargo install obsidian-mcpPre-built binaries are on GitHub Releases. For semantic search, see Installation.
Add it to your MCP client. For example, in Cursor's
~/.cursor/mcp.jsonor Claude Desktop'sclaude_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/vaultReconnect 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/vaultand point clients athttp://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/noteswith 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
- Installation: Cargo features, release binaries, platform notes
- Clients and transports: client configuration, stdio and HTTP, background server, services
- Tool reference: every tool, its parameters and output
- Configuration: environment variables, tool filtering, exclusions, data locations
- Semantic search: backends, API profiles, runtime modes, indexing progress
- Remote vaults: SFTP setup and behavior
- Authenticated clients: per-client credentials and permissions
- Private audience readers: scoped read mode for managed memory deployments
- Upgrading: the
upgradecommand and recovery - Semantic runtime: daemon contracts, compatibility and resource limits
- Contributing: development and architecture
License
MIT. For suspected vulnerabilities, follow the security reporting policy.
Explorar proyectos relacionados
Cargando…