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

@teolin/mcp-obsidian

v1.0.0

Published

MCP server for a sandboxed Obsidian vault (LLM Wiki) with raw/ read-only enforcement

Readme

Obsidian MCP Server

Features

Model Context Protocol server for a single Obsidian vault, built for the Karpathy LLM Wiki flow.

  • Sandboxed: every path is resolved inside VAULT_PATH; traversal outside the vault is rejected.
  • raw/ read-only: write_file / append_file are denied anywhere under raw/, enforcing the immutable-sources rule in the vault's AGENTS.md. This closes the gap the generic @modelcontextprotocol/server-filesystem leaves open (it grants write everywhere).
  • Local stdio server: runs on your machine, no network, minimal tokens.

| | This Server | Official filesystem MCP | |---|---|---| | Scope | one vault (VAULT_PATH) | any allowed dirs | | raw/ protection | enforced (read-only) | none | | Tools | read/write/append/list/search | full FS | | Transport | stdio | stdio |

Tools

| Tool | Args | Notes | |------|------|-------| | read_file | path | UTF-8, vault-relative | | write_file | path, content | denied under raw/; makes parent dirs | | append_file | path, content | denied under raw/ (e.g. wiki/log.md) | | list_dir | path? | dirs get trailing /; default = vault root | | search | query, path?, max_results? | recursive regex; skips node_modules, .git, .obsidian, binaries |

Prerequisites

  • Node.js >= 18

Setup

cd "path/to/mcps/Obsidian"
cp .env.example .env          # then edit VAULT_PATH to your vault's absolute path
./setup-mcp.sh                # installs deps, registers with Claude Code, runs tests

Or manually:

npm install
npm test
npm start                     # runs the server on stdio

Configuration

.env:

VAULT_PATH=/absolute/path/to/your/vault

Use with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "/absolute/path/to/mcps/Obsidian/start-mcp.sh"
    }
  }
}

Restart Claude Desktop. VAULT_PATH comes from this directory's .env, so no path is duplicated in the Desktop config. Because raw/ is read-only at the server level, Desktop cannot mutate your sources even though it's not governed by Claude Code's .claude/settings.json.

Use with Claude Code

setup-mcp.sh registers it via claude mcp add. Note: Claude Code already has native file tools scoped to the working directory, so this server is primarily for Claude Desktop (which otherwise has no vault access) and for enforcing raw/ immutability everywhere.