Interact with your Obsidian vault from your IDE or Claude Desktop.
A Model Context Protocol (MCP) server for interacting with your Obsidian vault from Claude Desktop or your IDE. Navigate, search, create, and analyze your Obsidian notes using natural language commands.
Clone the repository:
git clone <your-repository>
cd obsidian-mcp-server
Install dependencies:
uv sync
Configure your vault:
cp .env.example .env
Edit .env
and set your vault path:
OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"
Run the server:
uv run python obsidian_mcp_server.py
Run tests (optional):
uv run pytest
For automated setup, use the included setup script:
./setup.sh
This script will:
.env
file from templateThe .env
file must contain:
# Full path to your Obsidian vault
OBSIDIAN_VAULT_PATH="/Users/username/Documents/MyVault"
To use this server with Claude Desktop, add the following configuration to your Claude config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"obsidian-mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/Users/username/path/to/obsidian-mcp-server",
"obsidian_mcp_server.py"
],
"env": {
"PYTHONPATH": "/Users/username/path/to/obsidian-mcp-server"
}
}
}
}
(Similar process for other MCP-compatible IDEs like VSCode, Cursor, etc.)
listar_notas(carpeta?, incluir_subcarpetas?)
: List vault notesleer_nota(nombre_archivo)
: Read note contentbuscar_en_notas(texto, carpeta?, solo_titulos?)
: Search text in notesbuscar_notas_por_fecha(fecha_desde, fecha_hasta?)
: Search by datecrear_nota(titulo, contenido, carpeta?, etiquetas?)
: Create new noteagregar_a_nota(nombre_archivo, contenido, al_final?)
: Add content to existing noteestadisticas_vault()
: Complete vault statisticsOnce connected to Claude Desktop, you can use commands like:
Run the test suite to verify everything works correctly:
# Run all tests
uv run pytest
# Run with verbose output
uv run pytest -v
# Run specific test class
uv run pytest tests/test_basic.py::TestConfiguration
The test suite includes:
obsidian-mcp-server/
βββ obsidian_mcp_server.py # Main server
βββ pyproject.toml # Project configuration
βββ pytest.ini # Test configuration
βββ setup.sh # Automated setup script
βββ .env # Environment variables (not in git)
βββ .env.example # Configuration template
βββ .gitignore # Git ignore rules
βββ README.md # This documentation
βββ LICENSE # MIT License
βββ uv.lock # Dependency lock file
βββ tests/ # Test suite
βββ __init__.py
βββ conftest.py
βββ test_basic.py
Contributions are welcome! Please:
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License. See LICENSE
for details.
Productβdiscovery and strategy platform integration. Create, query and update opportunities, solutions, outcomes, requirements and feedback from any MCPβaware LLM.
MCP server for easy access to education data through your Canvas LMS instance.
Interact with the Umbraco CMS Management API for administrative tasks.
AnkiConnect MCP server for interacting with Anki via AnkiConnect.
Miro MCP server, exposing all functionalities available in official Miro SDK.
Simple unofficial MCP server to track time via Toggl API
Enables AI assistants to seamlessly interact with your Twenty CRM data through its API.
Official Taskeract MCP Server for integrating your Taskeract project tasks and load the context of your tasks into your MCP enabled app.
Turn your Make scenarios into callable tools for AI assistants.
Interact with and manage your Bitrix24 CRM instance through a powerful set of tools.