Obsidian MCP Local
Enables GitHub Copilot to access and manipulate Obsidian vault contents through MCP tools, allowing AI-assisted note retrieval, creation, and append operations within VS Code.
Provides tools for reading, writing, searching, and managing Markdown notes within an Obsidian vault, including support for frontmatter, tags, and path-normalized file operations directly on the vault filesystem.
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 MCP Localsearch my vault for notes about API design"
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 MCP Local
MCP local in Node.js + TypeScript to expose your Obsidian vault to VS Code + GitHub Copilot.
It is designed for local use via stdio, focusing on reading and writing Markdown notes within your vault.
Install
npm install -g obsidian-mcp-local
Related MCP server: Obsidian MCP Server
Features
Available tools
search_notes(query)searches for text in the path, frontmatter, and note content
returns ranked results with a short excerpt
get_note(path)opens a note from the vault
returns
path,frontmatter, andcontent
create_note(path, content, overwrite?)creates a new note
optionally overwrites an existing note
append_to_note(path, content)appends content to the end of an existing note
find_by_tag(tag)finds notes by tag
supports
tagsin frontmatter and inline tags in the content
Implemented rules
only accesses files within the configured vault
ignores directories such as:
.obsidian.gitnode_modules
works only with
.mdfilesnormalizes paths to prevent access outside the base directory
Project structure
obsidian-mcp-local/
package.json
tsconfig.json
README.md
.vscode/
mcp.example.json
src/
index.tsPrerequisites
Node.js 20+
npm
VS Code with GitHub Copilot
a local Obsidian vault
Installation
In the project directory:
npm install
npm run buildFor development:
npm run devTo run the compiled version:
npm startHow to use in VS Code
1. Compile the project
npm install
npm run build2. Adjust the VS Code MCP file
Copy the content of .vscode/mcp.example.json to your .vscode/mcp.json in the workspace where you will use Copilot.
Example: using locally:
{
"servers": {
"obsidian-local-vault": {
"type": "stdio",
"command": "node",
"args": ["C:/caminho/para/obsidian-mcp-local/dist/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "D:/Obsidian/Vault"
}
}
}
}using via npx (no local build required):
{
"servers": {
"obsidian-local-vault": {
"command": "npx",
"args": ["-y", "obsidian-mcp-local"],
"env": {
"OBSIDIAN_VAULT_PATH": "D:/Obsidian/Vault"
}
}
}
}3. Update the paths
Replace:
C:/path/to/obsidian-mcp-local/dist/index.jsD:/Obsidian/Vault
with the actual paths on your machine.
4. Restart/reload VS Code
After this, Copilot should discover the MCP server.
Usage examples in Copilot Chat
“Search my vault for notes about .NET”
“Open the note
knowledge/backend/dotnet.md”“Create a note in
inbox/ideias-mcp.mdwith a summary of what we discussed”“Append to the end of the note
daily/2026-04-06.mdthe text- test local MCP”“Find notes with the tag
#architecture”
Possible future improvements
append_under_heading[[wikilinks]]parsingget_backlinks(note)SQLite index for fast search
folder whitelist for writing (
inbox/,daily/,scratch/)configurable write blocking for specific folders
Important notes
This project does not depend on Obsidian being open.
It operates directly on the vault files.
If you enable writing in both Obsidian and VS Code, concurrency control is up to you.
The project currently assumes the vault is a local Markdown folder.
Main file
The implementation is in:
src/index.ts
License
Personal use / initial base for customization.
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
- AlicenseBqualityDmaintenanceEnables direct file system access to Obsidian vaults with auto-discovery, full-text search, and note operations. Supports reading, writing, and searching across Obsidian notes without requiring plugins or REST API.63,860MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Obsidian vaults through direct filesystem access, supporting note management, lightning-fast search with SQLite indexing, image analysis, tag/link management, and bulk operations.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to read, write, search, and navigate Obsidian vault notes with support for CRUD operations, full-text search, graph navigation, daily notes, and frontmatter management.3,860
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Obsidian vaults via direct filesystem access for managing notes, folders, and metadata. It features advanced search capabilities and multi-layer caching to provide efficient, real-time access to your personal knowledge base.3,860MIT
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
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/HenriqueCSouzza/obsidian-mcp-local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server