npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

obsidian-vault-mcp

v0.3.0

Published

MCP server for Obsidian vault with BM25 search, backlinks, tags, and more

Downloads

28

Readme

Obsidian Vault MCP

专为 Obsidian Vault 设计的 MCP 服务器,提供知识库专用工具。

安装

npm install -g obsidian-vault-mcp
# 或
npx obsidian-vault-mcp --vault /path/to/vault

使用

obsidian-vault-mcp --vault /path/to/your/vault

提供的工具

| 工具 | 功能 | |-----|------| | search_notes | 按标题、内容、标签搜索笔记 | | get_note_metadata | 获取笔记的 frontmatter 和元数据 | | get_backlinks | 获取指向某笔记的所有反向链接 | | list_by_tag | 按标签列出所有笔记 | | get_vault_structure | 获取 vault 目录结构 | | get_recent_notes | 获取最近修改的笔记 | | create_note | 创建带 frontmatter 的新笔记 |

在 Claude Code ACP 中配置

在 Obsidian ACP 插件设置中添加 MCP 服务器:

{
  "id": "vault",
  "name": "Obsidian Vault",
  "type": "stdio",
  "command": "npx",
  "args": ["obsidian-vault-mcp", "--vault", "{VAULT_PATH}"],
  "enabled": true
}

工具详情

search_notes

搜索笔记,支持按标题、内容、标签搜索。

{
  "query": "搜索关键词",
  "searchIn": "all",  // title | content | tags | all
  "limit": 20
}

get_note_metadata

获取笔记的完整元数据。

{
  "path": "folder/note.md"
}

返回:

{
  "path": "folder/note.md",
  "frontmatter": { "title": "...", "tags": ["..."] },
  "tags": ["tag1", "tag2"],
  "links": ["other-note", "another"],
  "modified": "2025-01-01T00:00:00Z",
  "created": "2024-12-01T00:00:00Z",
  "size": 1234
}

get_backlinks

获取所有链接到指定笔记的笔记。

{
  "path": "folder/note.md"
}

list_by_tag

获取包含特定标签的所有笔记。

{
  "tag": "project"  // 不需要 #
}

get_vault_structure

获取 vault 的目录结构。

{
  "depth": 2  // 遍历深度
}

get_recent_notes

获取最近修改的笔记。

{
  "limit": 10,
  "days": 7
}

create_note

创建新笔记。

{
  "path": "folder/new-note.md",
  "content": "# New Note\n\nContent here...",
  "frontmatter": {
    "title": "New Note",
    "tags": ["new", "example"]
  }
}

License

MIT