← 返回公开榜单
mc

MarkusPfundstein/mcp-obsidian

MCP server that interacts with Obsidian via the Obsidian rest API community plugin

本周新增
43 星
近 3 周倍数
1.0x
距上次推送
498 天
距上次发布
—
许可证
MIT

星标增长

每根柱子是这个周期记录下来的 star 增长:优先取逐个 stargazer 到达时间分桶的到达数,还没被 stargazer 扫描覆盖的仓库改用该周期的 star 净增;两个写者都没记录的周期画成虚线空档,而不是当成 0。柱高按各自窗口的峰值归一,两张图不共用坐标轴。指向任意一根柱子, tooltip 里是该周期的九项指标:当前值与周期内的净增。

指向或点击一根柱子,看当天的九项指标。

12/1712/301/111/242/62/193/33/16

2025 年 12 月 17 日 新增 5 个星标; 2025 年 12 月 18 日 新增 3 个星标; 2025 年 12 月 19 日 新增 4 个星标; 2025 年 12 月 21 日 新增 1 个星标; 2025 年 12 月 22 日 新增 8 个星标; 2025 年 12 月 23 日 新增 9 个星标; 2025 年 12 月 24 日 新增 4 个星标; 2025 年 12 月 25 日 新增 1 个星标; 2025 年 12 月 26 日 新增 4 个星标; 2025 年 12 月 27 日 新增 1 个星标; 2026 年 1 月 2 日 新增 37 个星标; 2026 年 1 月 3 日 新增 8 个星标; 2026 年 1 月 4 日 新增 9 个星标; 2026 年 1 月 5 日 新增 4 个星标; 2026 年 1 月 6 日 新增 5 个星标; 2026 年 1 月 8 日 新增 8 个星标; 2026 年 1 月 9 日 新增 6 个星标; 2026 年 1 月 10 日 新增 9 个星标; 2026 年 1 月 11 日 新增 10 个星标; 2026 年 1 月 12 日 新增 8 个星标; 2026 年 1 月 13 日 新增 5 个星标; 2026 年 1 月 14 日 新增 5 个星标; 2026 年 1 月 15 日 新增 2 个星标; 2026 年 1 月 16 日 新增 5 个星标; 2026 年 1 月 18 日 新增 7 个星标; 2026 年 1 月 21 日 新增 17 个星标; 2026 年 1 月 23 日 新增 10 个星标; 2026 年 1 月 25 日 新增 6 个星标; 2026 年 1 月 26 日 新增 2 个星标; 2026 年 1 月 27 日 新增 7 个星标; 2026 年 1 月 28 日 新增 8 个星标; 2026 年 1 月 29 日 新增 8 个星标; 2026 年 2 月 1 日 新增 16 个星标; 2026 年 2 月 2 日 新增 9 个星标; 2026 年 2 月 8 日 新增 24 个星标; 2026 年 2 月 9 日 新增 12 个星标; 2026 年 2 月 10 日 新增 6 个星标; 2026 年 2 月 11 日 新增 7 个星标; 2026 年 2 月 13 日 新增 1 个星标; 2026 年 2 月 14 日 新增 3 个星标; 2026 年 2 月 16 日 新增 4 个星标; 2026 年 2 月 17 日 新增 1 个星标; 2026 年 2 月 21 日 新增 21 个星标; 2026 年 2 月 23 日 新增 10 个星标; 2026 年 2 月 27 日 新增 21 个星标; 2026 年 2 月 28 日 新增 6 个星标; 2026 年 3 月 1 日 新增 7 个星标; 2026 年 3 月 4 日 新增 25 个星标; 2026 年 3 月 8 日 新增 24 个星标; 2026 年 3 月 16 日 新增 43 个星标

窗口内最高的一天是 2026 年 3 月 16 日,新增 43 个星标。

证据时间轴

这个项目还没有记录到异动、发布或许可证变化。

README
The document stored for this repository, with its Chinese translation when one has been produced

MCP server for Obsidian

MCP server to interact with Obsidian via the Local REST API community plugin.

server for Obsidian MCP server

Components

Tools

The server implements multiple tools to interact with Obsidian:

  • list_files_in_vault: Lists all files and directories in the root directory of your Obsidian vault
  • list_files_in_dir: Lists all files and directories in a specific Obsidian directory
  • get_file_contents: Return the content of a single file in your vault.
  • search: Search for documents matching a specified text query across all files in the vault
  • patch_content: Insert content into an existing note relative to a heading, block reference, or frontmatter field.
  • append_content: Append content to a new or existing file in the vault.
  • delete_file: Delete a file or directory from your vault.

Example prompts

Its good to first instruct Claude to use Obsidian. Then it will always call the tool.

The use prompts like this:

  • Get the contents of the last architecture call note and summarize them
  • Search for all files where Azure CosmosDb is mentioned and quickly explain to me the context in which it is mentioned
  • Summarize the last meeting notes and put them into a new note 'summary meeting.md'. Add an introduction so that I can send it via email.

Configuration

Obsidian REST API Key

There are two ways to configure the environment with the Obsidian REST API Key.

  1. Add to server config (preferred)
{
  "mcp-obsidian": {
    "command": "uvx",
    "args": [
      "mcp-obsidian"
    ],
    "env": {
      "OBSIDIAN_API_KEY": "<your_api_key_here>",
      "OBSIDIAN_HOST": "<your_obsidian_host>",
      "OBSIDIAN_PORT": "<your_obsidian_port>"
    }
  }
}

Sometimes Claude has issues detecting the location of uv / uvx. You can use which uvx to find and paste the full path in above config in such cases.

  1. Create a .env file in the working directory with the following required variables:
OBSIDIAN_API_KEY=your_api_key_here
OBSIDIAN_HOST=your_obsidian_host
OBSIDIAN_PORT=your_obsidian_port

Note:

  • You can find the API key in the Obsidian plugin config
  • Default port is 27124 if not specified
  • Default host is 127.0.0.1 if not specified

Quickstart

Install

Obsidian REST API

You need the Obsidian REST API community plugin running: https://github.com/coddingtonbear/obsidian-local-rest-api

Install and enable it in the settings and copy the api key.

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration
{
  "mcpServers": {
    "mcp-obsidian": {
      "command": "uv",
      "args": [
        "--directory",
        "<dir_to>/mcp-obsidian",
        "run",
        "mcp-obsidian"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "<your_api_key_here>",
        "OBSIDIAN_HOST": "<your_obsidian_host>",
        "OBSIDIAN_PORT": "<your_obsidian_port>"
      }
    }
  }
}
Published Servers Configuration
{
  "mcpServers": {
    "mcp-obsidian": {
      "command": "uvx",
      "args": [
        "mcp-obsidian"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "<YOUR_OBSIDIAN_API_KEY>",
        "OBSIDIAN_HOST": "<your_obsidian_host>",
        "OBSIDIAN_PORT": "<your_obsidian_port>"
      }
    }
  }
}

Development

Building

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-obsidian run mcp-obsidian

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

You can also watch the server logs with this command:

tail -n 20 -f ~/Library/Logs/Claude/mcp-server-mcp-obsidian.log

页面上的每个数字都来自记录下来的 stargazer 到达时间,没有评分公式,也没有 AI 判定。 任何结论都可以用 /api/v1/repos/{id}/stats 里的原始增量自己重算。