About Obsidian MCP
Obsidian MCP is an MCP server published by orvice in the Productivity category: obsidian mcp server.
The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/orvice/obsidian-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Obsidian MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
4 checks have not been run yet.
README
obsidian-mcp
A Model Context Protocol (MCP) server for Obsidian, written in Go.
Features
- Interact with Obsidian through the MCP protocol
- Support for Obsidian REST API
- Provides tools and prompts functionality
- Supports both stdio and SSE server modes
Prerequisites
This MCP server requires the Obsidian Local REST API plugin to be installed and enabled in Obsidian. This plugin provides a secure HTTPS interface that allows external tools to interact with your Obsidian notes through a REST API.
Installation
Using go install
go install github.com/orvice/obsidian-mcp/cmd/obsidian-mcp@latest
Build from source
git clone https://github.com/orvice/obsidian-mcp.git
cd obsidian-mcp
go build -o obsidian-mcp ./cmd/obsidian-mcp
Configuration
Environment Variables
OBSIDIAN_BASE_URL: Base URL for Obsidian REST APIOBSIDIAN_API_KEY: API key for Obsidian REST APISSE_SERVER: Set to "true" to enable SSE server mode (optional)
MCP Configuration Examples
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"obsidian-mcp": {
"command": "obsidian-mcp",
"env": {
"OBSIDIAN_BASE_URL": "http://localhost:27123",
"OBSIDIAN_API_KEY": "your-obsidian-api-key"
}
}
}
}
Continue Configuration
Add to ~/.continue/config.json:
{
"experimental": {
"modelContextProtocol": true
},
"mcpServers": {
"obsidian-mcp": {
"command": "obsidian-mcp",
"args": [],
"env": {
"OBSIDIAN_BASE_URL": "http://localhost:27123",
"OBSIDIAN_API_KEY": "your-obsidian-api-key"
}
}
}
}
Usage
- Ensure Obsidian is installed with the REST API plugin enabled
- Obtain an API key and configure environment variables
- Start the MCP server
- Use in MCP-compatible clients (such as Claude Desktop)
Development
# Run the project
go run ./cmd/obsidian-mcp
# Run tests
go test ./...
# Build
make build
License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.