obsidian-gate
Allows AI agents to interact with an Obsidian vault, providing tools for reading, searching, creating, updating notes, managing backlinks, tags, daily notes, and creating wikilinks.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-gatesearch my vault for Kubernetes notes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Obsidian Gate
An MCP server that opens your Obsidian vault to any AI agent.
npx obsidian-gate init # point at your vault
npx obsidian-gate # dashboard on :3100
Your Obsidian vault is your second brain. Your AI agents should be able to use it.
Claude Code, Codex, Cursor — one line of config and your vault becomes an agent-accessible workspace. Every note, every link, every tag. All local, all yours, no cloud.
Try It
# One command to set up
npx obsidian-gate init
# Start the dashboard
npx obsidian-gate
# → http://localhost:3100/dashboardThat's it. Your agents can now read, search, and write to your vault.
Related MCP server: obsidian-mcp
Quick Start
1. Point at your vault
npx obsidian-gate initYou'll be asked for your vault path. Paste it in, get an API key back.
2. Connect your agent
Claude Code — drop this into your MCP config:
{
"mcpServers": {
"obsidian": {
"command": "npx",
"args": ["obsidian-gate", "--mcp"]
}
}
}Any MCP client over HTTP:
{
"mcpServers": {
"obsidian": {
"type": "http",
"url": "http://localhost:3100/mcp",
"headers": { "Authorization": "Bearer sk-your-key" }
}
}
}3. Ask your agent
Try these:
Prompt | What happens |
"What did I work on yesterday?" | Agent reads your daily note |
"Search my vault for Kubernetes notes" | Full-text search across every note |
"Save this debugging session to my vault" | Creates a new note with frontmatter |
"Link my meeting notes to the project notes" | Adds a |
Tools — 9 Operations
Tool | What it does |
| List notes and folders in a vault folder |
| Full note content + parsed frontmatter |
| Full-text search with ranked results and snippets |
| New note with vault template frontmatter |
| Overwrite or append to a note |
| Every note linking here via |
| All tags — frontmatter and inline — with counts |
| Get or create the daily note (today, yesterday, -1, ISO) |
| Add a |
Notes are also exposed as MCP resources: obsidian://{vault}/{path}.
CLI
Command | What it does |
| Interactive setup wizard |
| Dashboard + MCP HTTP on :3100 |
| Run as MCP server over stdio |
| Verify vault access and all 9 tools |
| Show agent connections |
| Create a new API key |
| Rotate a key |
| Revoke a key |
| Configured vaults |
| Add a vault |
| Remove a vault |
| Your plan and usage |
| Activate a license key |
| Agent activity log |
Pricing
Tier | Price | What you get |
Free | $0 | 50 queries/month, 1 vault, 1 agent |
Personal | $19/mo | Unlimited queries, 3 vaults, unlimited agents |
Team | $49/mo | Everything in Personal + shared config, priority support |
14-day free trial on paid plans. No risk. Cancel anytime.
Architecture
┌────────────┐ ┌──────────────────────┐ ┌──────────────┐
│ AI Agent │────▶│ obsidian-gate │────▶│ Obsidian │
│ (Claude, │◀────│ (MCP Server) │◀────│ Vault │
│ Codex, │ │ │ │ (files) │
│ Cursor) │ │ stdio ─ dashboard │ └──────────────┘
└────────────┘ └──────────────────────┘All local. Every byte lives on your machine. No cloud, no servers, no sync.
Config in
~/.obsidian-gate/config.json(mode 0600)API keys are local secrets. You own the stack.
Activity log tracks every agent action in JSONL.
What Gate Is Not
❌ Not an Obsidian plugin (but a community plugin is planned)
❌ Not a sync engine (reads/writes your vault directory directly)
❌ Not a note editor (Obsidian is better at that)
❌ Not a cloud service (runs entirely on your machine)
It's one small thing done well: an MCP server for your vault.
Roadmap
MCP server with 9 tools
Local dashboard + activity log
API key auth + permissions
Stripe licensing (free + paid tiers)
Obsidian community plugin (one-click install)
Agent write-back with LLM frontmatter
Auto-tagging from vault content
Daily digest: what changed in your vault
Development
git clone https://github.com/rileygramlich/obsidian-gate.git
cd obsidian-gate
npm install
npm run build # compile TypeScript → dist/
npm run dev # hot-reload with tsxBuilt by Riley G. — inspired by the Marc Lou playbook: ship fast, free tier, zero ad spend, build in public.
MIT — build on it, ship it, sell it.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search, read, and append content to notes in an Obsidian vault via the MCP protocol.2,472BSD Zero Clause
- AlicenseBqualityBmaintenanceBridges Obsidian vaults with MCP-compatible AI tools, enabling read/write/search of notes, task management, and vault operations through 34 tools and prompt templates.34571MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to remotely access and interact with Obsidian vaults via MCP, supporting note operations, tag management, graph queries, and command execution.4GPL 3.0
- FlicenseNot gradedqualityCmaintenanceEnables reading, writing, searching, and managing Obsidian vault notes through MCP tools and prompts, allowing AI agents to interact with local knowledge bases.
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Shared long-term memory vault for AI agents with 20 MCP tools.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rileygramlich/obsidian-gate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server