Complete Guide: Connect Your Obsidian Vault to Claude Desktop on Windows
This guide will walk you through connecting your Obsidian vault to Claude Desktop on a fresh Windows PC with no existing tools installed.
Prerequisites
- Windows 10 or Windows 11
- Claude Desktop installed (download from claude.ai)
- An Obsidian vault on your computer
- Administrator access to install software
Estimated Time: 15-20 minutes
Step 1: Install Git (Required)
Git is needed to download the MCP server code.
- Download Git for Windows:
- Install Git:
- Run the downloaded installer
- Use all default options - just keep clicking "Next"
- Click "Install" then "Finish"
- Verify Git is installed:
- Press
Win + R on your keyboard
- Type
cmd and press Enter
- In the black window, type:
git --version
- You should see something like
git version 2.x.x
- Type
exit to close the window
Step 2: Install uv (Python Package Manager)
uv is a fast, modern Python package manager that will handle Python installation automatically.
- Open PowerShell:
- Press
Win + X
- Click "Windows PowerShell" or "Terminal"
- Install uv:
- Copy and paste this command, then press Enter:
powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
- Wait for it to complete (about 30 seconds)
- Close and reopen PowerShell:
- Close the PowerShell window
- Open a new PowerShell window (Win + X → Windows PowerShell)
- Verify uv is installed:
- Type:
uv --version
- You should see version information
Step 3: Download the MCP Filesystem Server
This server allows Claude to access your Obsidian vault.
- In PowerShell, navigate to your user folder:
powershell
cd C:\Users\$env:USERNAME
- Clone the MCP filesystem server:
powershell
git clone https://github.com/safurrier/mcp-filesystem.git
- This creates a folder called
mcp-filesystem with the server code
- Navigate into the folder:
- Install dependencies:
- This will:
- Download Python automatically if not installed
- Install all required packages
- Take 1-2 minutes
- Verify it works by testing the server:
powershell
uv run run_server.py C:\Users\$env:USERNAME\Documents
- You should see a banner showing "FastMCP" and "Local Filesystem Operations MCP"
- Press
Ctrl+C to stop the server
- Type
exit to close PowerShell
Step 4: Configure Claude Desktop
Now we'll tell Claude Desktop where to find your Obsidian vault.
- Find your Obsidian vault path:
- Open File Explorer
- Navigate to your Obsidian vault folder
- Click in the address bar at the top
- The full path will appear (e.g.,
C:\Users\YourName\Documents\MyVault)
- Copy this path (Ctrl+C)
- Open Claude Desktop's config file:
- Press
Win + R
- Type:
%APPDATA%\Claude
- Press Enter
- Look for a file named
claude_desktop_config.json
- If it doesn't exist, create a new text file and name it exactly
claude_desktop_config.json
- Edit the config file:
- Right-click
claude_desktop_config.json
- Choose "Open with" → "Notepad"
- Delete any existing content
- Paste this template:
json
{
"mcpServers": {
"obsidian": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\YOUR_USERNAME\\mcp-filesystem",
"run",
"run_server.py",
"C:\\Path\\To\\Your\\ObsidianVault"
]
}
}
}
- Customize the config:
- Replace
YOUR_USERNAME with your actual Windows username
- Replace
C:\\Path\\To\\Your\\ObsidianVault with your vault path from step 1
- Important: Use double backslashes (
\\) instead of single (\)
- Example:
C:\Users\John\Documents\MyVault becomes C:\\Users\\John\\Documents\\MyVault
- Example of a complete config:
json
{
"mcpServers": {
"obsidian": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\John\\mcp-filesystem",
"run",
"run_server.py",
"C:\\Users\\John\\Documents\\ObsidianVault"
]
}
}
}
- Save and close:
- File → Save
- Close Notepad
Step 5: Restart Claude Desktop
- Close Claude Desktop completely:
- Right-click the Claude icon in your taskbar
- Click "Quit" or "Exit"
- OR: Press Alt+F4 while Claude is active
- Reopen Claude Desktop:
- Double-click the Claude Desktop icon on your desktop
- Or search for "Claude" in the Start menu
- Wait for startup:
- Claude Desktop will take 5-10 seconds to start
- The MCP server will connect automatically in the background
Step 6: Test the Connection
Start a new conversation in Claude Desktop and try these commands:
- Test basic access:
What directories are in my Obsidian vault?
- Test file search:
Search for files about [topic] in my vault
- Test reading files:
Read my note called [filename]
If Claude can respond with actual content from your vault, you're done! 🎉
Troubleshooting
"No result received from client-side tool execution"
Solution: The server might be timing out. Try:
- Close Claude Desktop completely
- Restart it
- Wait 30 seconds before trying commands
- Start with simple commands like "list my vault directories"
"Path outside allowed directories" errors
Solution: Check your config file:
- Make sure you're using double backslashes (
\\)
- Verify the vault path is correct by opening it in File Explorer
- Make sure there are no typos in the username
MCP server not connecting
Solution: Check the logs:
- In Claude Desktop, go to Help → Enable Developer Mode
- Then Developer → Open MCP Log File
- Look for errors related to "obsidian"
- Common issues:
- Wrong path to
mcp-filesystem folder
- Wrong path to Obsidian vault
- Missing double backslashes in config
"uv: command not found"
Solution: uv wasn't installed correctly:
- Close PowerShell completely
- Reopen PowerShell
- Try
uv --version again
- If still not found, repeat Step 2
Git clone fails
Solution:
- Make sure you have internet connection
- Try again - sometimes GitHub has temporary issues
- You can manually download:
What You Can Do Now
With your Obsidian vault connected, you can:
- Search across all notes: "Find all notes about dragons"
- Read specific files: "Show me my note about character backstories"
- Navigate your vault: "What's in my Characters folder?"
- Get summaries: "Summarize my session notes from last week"
- Cross-reference: "What NPCs are mentioned in my faction notes?"
- Analyze structure: "Show me the directory tree of my vault"
Security Notes
- The MCP server only has access to the specific vault folder you configure
- It cannot access other parts of your computer
- All processing happens locally on your machine
- Claude Desktop manages the connection securely
Updating the MCP Server
If you want to update to the latest version later:
- Open PowerShell
- Navigate to the server folder:
powershell
cd C:\Users\$env:USERNAME\mcp-filesystem
- Pull the latest updates:
- Restart Claude Desktop
Uninstalling
To remove everything:
- Delete the config:
- Press Win + R →
%APPDATA%\Claude
- Delete
claude_desktop_config.json
- Delete the MCP server folder:
- Delete
C:\Users\YOUR_USERNAME\mcp-filesystem
- Optionally uninstall tools:
- Control Panel → Programs → Uninstall Git
- Delete
C:\Users\YOUR_USERNAME\.local (contains uv)
- Restart Claude Desktop
Additional Resources
Credits
- MCP Server: safurrier/mcp-filesystem
- Guide created: November 2024
- Tested on: Windows 10 & Windows 11
Questions? Try asking Claude in your connected session: "Help me troubleshoot my Obsidian MCP connection"