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

@freewilling/obsidian-mcp

v0.1.1

Published

MCP server giving Claude Code encrypted read/write access to Obsidian vaults — local files or CouchDB LiveSync with E2EE

Downloads

78

Readme

@freewilling/obsidian-mcp

MCP server that gives Claude Code (and any MCP client) read/write access to your Obsidian vault. Supports local vault folders and remote CouchDB/LiveSync with end-to-end encryption.

Quick Start (Local Vault)

Works with any sync method — official Obsidian Sync, iCloud, Dropbox, or none.

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": ["-y", "@freewilling/obsidian-mcp", "--vault", "~/Documents/MyVault"]
    }
  }
}

That's it. Claude Code can now read, write, search, and extract action items from your vault.

Quick Start (CouchDB/LiveSync)

For remote access to an E2E-encrypted vault via Obsidian LiveSync:

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": ["-y", "@freewilling/obsidian-mcp"],
      "env": {
        "OBSIDIAN_MCP_COUCHDB_URL": "http://admin:password@localhost:5984",
        "OBSIDIAN_MCP_PASSPHRASE": "your-livesync-e2ee-passphrase"
      }
    }
  }
}

Tools

| Tool | Description | |------|-------------| | list_notes | List all notes, optionally filtered by folder | | read_note | Read a note's full content | | write_note | Create or overwrite a note | | append_note | Append content to a note | | delete_note | Delete a note | | search_notes | Full-text search across all notes | | get_action_items | Extract TODOs, checkboxes, and action items |

HTTP Mode

For remote access (e.g., from a VPS accessible over Tailscale):

npx @freewilling/obsidian-mcp --vault ~/MyVault --http --port 3848 --token mysecret

Then in Claude Code:

{
  "mcpServers": {
    "obsidian": {
      "type": "http",
      "url": "http://your-server:3848/mcp",
      "headers": { "Authorization": "Bearer mysecret" }
    }
  }
}

Configuration

| CLI Flag | Env Var | Description | |----------|---------|-------------| | --vault <path> | OBSIDIAN_MCP_VAULT | Path to local vault folder | | --couchdb <url> | OBSIDIAN_MCP_COUCHDB_URL | CouchDB URL (with auth) | | --database <name> | OBSIDIAN_MCP_DATABASE | CouchDB database (default: obsidian-vault) | | --passphrase <str> | OBSIDIAN_MCP_PASSPHRASE | LiveSync E2EE passphrase | | --http | — | Use HTTP transport (default: stdio) | | --port <n> | OBSIDIAN_MCP_PORT | HTTP port (default: 3848) | | --token <str> | OBSIDIAN_MCP_TOKEN | Bearer token for HTTP auth |

Provide either --vault or --couchdb, not both.

How It Works

Local mode: Reads and writes .md files directly from your vault folder. No encryption, no network calls. Works with any sync solution.

CouchDB mode: Connects to CouchDB where Obsidian LiveSync stores encrypted note chunks. Decrypts on-the-fly using PBKDF2 (310k iterations) + HKDF + AES-256-GCM — the same scheme LiveSync uses. No vault files on disk.

Security

  • Local mode: Files are read/written with the permissions of the running process. No network exposure in stdio mode.
  • CouchDB mode: All note content is encrypted at rest in CouchDB. The passphrase never leaves the process. PBKDF2 salt is auto-fetched from CouchDB at startup.
  • HTTP mode: Use --token for bearer auth. For remote access, use a VPN (Tailscale recommended) rather than exposing the port to the internet.
  • Credentials: Use environment variables for secrets, not CLI flags (CLI args are visible in ps).

Requirements

  • Node.js 18+
  • An Obsidian vault (local folder or CouchDB with LiveSync)

License

MIT