
Obsidian MCP Server
by cyanheadsio.github.cyanheads/obsidian-mcp-serverv3.7.0
Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP.
context tax
not measurable
security
100/100
cold start
pending
freshness
Active36d ago
Our reading of Obsidian, from the data
Obsidian is a notes & knowledge MCP server from cyanheads, listed in the official MCP Registry.
We haven't measured its tool list yet, so its token cost is unknown.
Maintenance is active: the last public signal was 36 days ago (2026-10-06). For comparison, 70% of notes & knowledge servers are active or maintained.
With 697 GitHub stars it ranks #33 of 1,114 notes & knowledge servers we index.
It runs either locally over stdio or as a hosted endpoint.
Install Obsidian MCP server
Install in Claude Code
claude mcp add obsidian-cyanheads -e OBSIDIAN_API_KEY='<obsidian-api-key>' -- npx -y obsidian-mcp-serverInstall in Cursor
{
"mcpServers": {
"obsidian-cyanheads": {
"command": "npx",
"args": [
"-y",
"obsidian-mcp-server"
],
"env": {
"OBSIDIAN_API_KEY": "<obsidian-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"obsidian-cyanheads": {
"command": "npx",
"args": [
"-y",
"obsidian-mcp-server"
],
"env": {
"OBSIDIAN_API_KEY": "<obsidian-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"obsidian-cyanheads": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"obsidian-mcp-server"
],
"env": {
"OBSIDIAN_API_KEY": "<obsidian-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"obsidian-cyanheads": {
"command": "npx",
"args": [
"-y",
"obsidian-mcp-server"
],
"env": {
"OBSIDIAN_API_KEY": "<obsidian-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test obsidian-mcp-server --env OBSIDIAN_API_KEY
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OBSIDIAN_API_KEY | yes | — | Bearer token for the Obsidian Local REST API plugin (Settings → Community Plugins → Local REST API). |
| OBSIDIAN_BASE_URL | — | — | Base URL of the Obsidian Local REST API. Default: http://127.0.0.1:27123 (enable "Non-encrypted (HTTP) Server" in plugin settings). Use https://127.0.0.1:27124 for the always-on HTTPS port (self-signed cert; pair with OBSIDIAN_VERIFY_SSL=false). |
| OBSIDIAN_VERIFY_SSL | — | — | Whether to verify the TLS certificate on the Obsidian endpoint. Default false because the plugin uses a self-signed cert. |
| OBSIDIAN_REQUEST_TIMEOUT_MS | — | — | Per-request timeout in milliseconds. |
| OBSIDIAN_ENABLE_COMMANDS | — | — | Opt-in flag for the command-palette pair (obsidian_list_commands + obsidian_execute_command). Off by default — Obsidian commands are opaque and can be destructive. |
| OBSIDIAN_READ_PATHS | — | — | Optional comma-separated vault-relative folder allowlist for reads. Prefix-based with implicit recursion; case-insensitive; trailing slashes normalized. Unset = full vault. Write paths are implicitly readable. Example: 'public/,projects/'. |
| OBSIDIAN_WRITE_PATHS | — | — | Optional comma-separated vault-relative folder allowlist for writes. Same syntax as OBSIDIAN_READ_PATHS. Unset = full vault. Example: 'projects/,scratch/'. |
| OBSIDIAN_READ_ONLY | — | — | Global read-only kill switch. When true, every write is denied regardless of OBSIDIAN_WRITE_PATHS, and the command-palette pair is suppressed (commands can mutate). Useful for shared or public-facing deployments. |
| OBSIDIAN_DELETE_ELICITATION | — | — | Opt-in delete confirmation. When true, obsidian_delete_note asks the user to confirm each delete through an elicitation round (the client must support elicitation), and HTTP startup requires a stateful session unless OBSIDIAN_READ_ONLY=true disables the tool. Off by default — the delete runs on the first call, bounded by OBSIDIAN_WRITE_PATHS and OBSIDIAN_READ_ONLY. |
| OBSIDIAN_OMNISEARCH_URL | — | — | Override URL for the Omnisearch plugin HTTP server. Unset derives from OBSIDIAN_BASE_URL host with port 51361. Required only if the Omnisearch plugin is not on the default port. |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 36d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-06 · 36d ago · GitHub
Latest release
2026-10-06 · 36d ago · GitHub · v3.7.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-06 · 36d ago · official registry · v3.7.0
How it compares in Notes & Knowledge
Against the most-starred notes & knowledge servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Obsidian (this) | 697 | — | not measured | Active | local + hosted |
| Memory | 91,356 | 9 | 949 | Active | local |
| Context7 | 63,264 | 2 | 1,188 | Active | local + hosted |
| Hindsight | 51,304 | — | not measured | Active | — |
| Cognee | 32,506 | — | not measured | Active | — |
| Docs | 28,892 | 13 | 3,429 | Active | local |
FAQ
›How do I install the Obsidian MCP server in Claude Code?
Run: claude mcp add obsidian-cyanheads -e OBSIDIAN_API_KEY='<obsidian-api-key>' -- npx -y obsidian-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Obsidian require an API key?
Yes. It expects OBSIDIAN_API_KEY.
›Can I use Obsidian as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is Obsidian in the official MCP registry?
Yes, as io.github.cyanheads/obsidian-mcp-server.
Sources and method
- Official MCP Registry entry
- updated 2026-10-06
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Obsidian
Other notes & knowledge MCP servers.