Skip to main content

MCP Server Obsidian

A Model Context Protocol server that provides Obsidian vault search capabilities. This server enables LLMs to search and retrieve content from your Obsidian vault, making it easier to find and process your notes.

Available Tools

  • search - Searches your Obsidian vault for notes matching the query.
    • query (string, required): Search query to find relevant notes
    • Returns a list of matching notes with their content

Features

  • Search through your entire Obsidian vault
  • Secure access with path validation
  • Configurable search limits
  • Hidden files/directories are automatically ignored

Installation

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-obsidian.

Using PIP

Alternatively you can install mcp-server-obsidian via pip:

pip install mcp-server-obsidian

After installation, you can run it as a script using:

python -m mcp_server_obsidian

Configuration

The server needs to be configured with your Obsidian vault directory. By default, it will look for notes in the user's home directory.

Security

The server includes several security features:

  • Path validation to prevent unauthorized access
  • Hidden files and directories are automatically ignored
  • Access is restricted to configured vault directories only

Development

To contribute to this project:

  1. Clone the repository
  2. Install dependencies
  3. Run the server using python -m mcp_server_obsidian

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for mcp-server-obsidian 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-server-obsidian 0.1.3
File Size Uploaded
mcp_server_obsidian-0.1.3.tar.gz 41.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-server-obsidian 0.1.3
File Interpreter ABI Platform
mcp_server_obsidian-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 48.3 kB

Release files / mcp_server_obsidian-0.1.3.tar.gz

Download URL mcp_server_obsidian-0.1.3.tar.gz
Size 41.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d8e5baa1546caa375536501b664493ec5aa02f040d7e760a599b630b839f29de
BLAKE2b-256 checksum
How to use checksums
9425ee828f042ad958847f5f2870152eb40249e2098c031fb2fe7af1c3953831
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release files / mcp_server_obsidian-0.1.3-py3-none-any.whl

Download URL mcp_server_obsidian-0.1.3-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a032fa2154ac04ed73a5790b44f55010836fda832f3a64c86688fdae928d6407
BLAKE2b-256 checksum
How to use checksums
386e3b53a9e28ab689739d469175f25867db0bec41045a23ee76b21e09e79ad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.5

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page