$ timeahead.in
/ servers/npm/obsidian-mcp-server
npm

obsidian-mcp-server

MCP server for Obsidian vaults — read, write, search, and surgically edit notes, tags, and frontmatter via the Local REST API plugin. STDIO or Streamable HTTP.

587 stars6k/wkupdated 2d agogithub ↗
89good
▣ Overview
VersionLicenseDockerMCP SDKnpmTypeScriptBunInstall in Claude DesktopInstall in VS CodeFramework

What it does

The server bridges Claude to an Obsidian vault via the Local REST API plugin, enabling read, write, search, and surgical edit operations on notes, tags, and frontmatter. It exposes fourteen tools spanning content retrieval (raw markdown or structured format with metadata), vault search (text, JSONLogic, or BM25 ranking), targeted patches (append, prepend, replace at heading or block level), frontmatter management, and tag orchestration. Supports both STDIO and Streamable HTTP transports.

Who it's for

Knowledge workers and researchers who maintain local Obsidian vaults and want Claude to query, analyze, or contribute to their notes programmatically. Also useful for writers and note-takers automating workflows around their personal knowledge base.

Common use cases

  • Query a local Obsidian vault to surface and analyze notes on a specific topic or tag.
  • Generate new notes from Claude's research or analysis and store them directly in the vault.
  • Update frontmatter fields (status, due-date, category) based on Claude's assessment of note content.
  • Search vault contents by text, regex, or structured logic to find related information.
  • Append Claude-generated insights, summaries, or follow-ups to existing notes without overwriting them.

Setup pitfalls

  • The Obsidian Local REST API plugin must be installed and enabled in the vault; without it, the server cannot communicate with Obsidian.
  • OBSIDIAN_API_KEY env var must be set to the API key generated by the plugin; the server will fail to authenticate without it.
  • Command execution (via obsidian_execute_command) requires OBSIDIAN_ENABLE_COMMANDS=true; disabled by default for safety.
  • Network calls go directly to the plugin's HTTP endpoint; ensure it is reachable from the server's network context (may require localhost verification if running remotely).
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
73
14.7
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
88.7
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": [
        "-y",
        "obsidian-mcp-server"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
58/ 100 · is this project alive?
contributors (1y)1
top contributor share100%
releases (1y)6
last release1d ago
ci✓ passing
⛁ Raw data
weekly downloads6k
github stars587
forks88
open issues19
license✓ present
readme length25550 chars
last publish0d ago
last commit2d ago
last updated1d ago
install verified✗ fail · 30d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points