🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@abhishekmcp/notes

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abhishekmcp/notes

MCP server for local markdown notes — ranked search, tags, todos, and a wiki-link knowledge graph, from any MCP client.

latest
Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
111
16.84%
Maintainers
1
Weekly downloads
 
Created
Source

@abhishekmcp/notes

An MCP server for managing local markdown notes. Lets any MCP client (Claude Desktop, Claude Code, Cursor, …) search, link, and organize the notes in a folder on your machine — with ranked full-text search, tags, todos, and a wiki-link knowledge graph.

Pure JavaScript, no native dependencies, no API keys — everything runs locally.

Features

Notes (token-efficient I/O)

  • list_notes — list notes (newest first) with pagination (offset/limit) and an optional tag filter
  • read_note — read a note; optionally just one heading's section, or a character window (offset/limit) with a truncation flag
  • get_outline — return only a note's heading tree (grasp a big note in a few tokens)
  • create_note — create a new note (optional overwrite)
  • append_note — append to a note, creating it if missing (great for journals/logs)
  • delete_note — delete a note
  • move_note — rename/move a note and rewrite every [[wiki-link]] across the vault that points at it

Search & discovery

  • search_notes — ranked full-text search (MiniSearch); supports fuzzy and prefix matching, a field filter (title/tag/body/path), and returns ranked snippets with surrounding context
  • semantic_searchmeaning-based search using local embeddings; finds related notes even with no shared keywords (e.g. "puppy" matches a note about "canine companions"). Optional hybrid mode fuses semantic + keyword ranking
  • list_tags — every tag across the vault with note counts
  • list_todos — aggregate - [ ] / - [x] checkboxes across all notes

Knowledge graph

  • get_backlinks — notes linking to a note via [[wiki-link]] syntax
  • get_neighbors — notes within N hops over the (undirected) link graph (depth/limit capped)
  • find_path — shortest wiki-link chain between two notes
  • related_notes — notes ranked by shared links + shared tags
  • graph_overview — aggregate health: note/link/tag counts, top hubs, orphans, broken-link count
  • broken_links — wiki-links that point at notes which don't exist

Organization & daily workflow

  • daily_note — open today's daily note (creating it if needed) and append a timestamped entry
  • list_templates / create_from_template — instantiate a note from a template, substituting {{date}}/{{time}}/{{title}} plus your own vars
  • rename_tag — rename a tag across the whole vault (frontmatter + inline #hashtags)
  • unlinked_mentions — find notes that mention a note's title as plain text but don't yet [[link]] to it

Prompts (slash-command workflows)

Exposed via the MCP Prompts primitive — your client surfaces these as slash commands:

  • weekly_review — summarize the last 7 days of notes + open todos
  • summarize_note — summarize one note (with note-name autocomplete)
  • daily_standup — draft a standup from yesterday/today's daily notes + open todos

Resources

  • Every note is exposed as a notes://<name> resource.

Frontmatter & tags

Notes may start with a YAML frontmatter block; title and tags (a list or comma-separated string) are recognized. Inline #hashtags in the body are also collected as tags.

---
title: My Note
tags: [project, ideas]
---
# My Note
Links to [[another-note]]. Some inline #tag too.

Configuration

All via environment variables:

VariableDefaultEffect
NOTES_DIR~/notesDirectory where notes live (a leading ~ is expanded).
NOTES_READONLYunsetSet to 1 to disable all mutating tools (create/append/delete/move are not even registered) — safe for sharing a vault.
NOTES_NO_CACHEunsetSet to 1 to skip the on-disk index cache and rebuild in memory each start.
NOTES_MODEL_DIR~/.cache/mcp-notes/modelsWhere the semantic-search embedding model is cached.
NOTES_DAILY_DIRdailySubdirectory (within the vault) for daily notes.
NOTES_TEMPLATE_DIRtemplatesSubdirectory (within the vault) holding note templates.

Semantic search & the embedding model

semantic_search runs the all-MiniLM-L6-v2 model locally via WebAssembly (onnxruntime-web) — no API keys, no native dependencies, no data leaves your machine. The quantized model (~23 MB) is downloaded once on first use into NOTES_MODEL_DIR and cached; embeddings are stored in <NOTES_DIR>/.notes-embeddings.json and incrementally updated as notes change. The first semantic_search call needs network access for the download and embeds the whole vault; everything after that is offline and fast. Keyword search and all other tools work without ever triggering this.

Index cache

For fast warm starts the server persists its search index to <NOTES_DIR>/.notes-index.json and, on startup, incrementally re-parses only the notes that changed (by mtime/size) since last run. The cache is rebuilt automatically if it's missing, unreadable, or from an older index version. Files on disk are always the source of truth.

Security

All filesystem access is sandboxed to the notes directory:

  • Path traversal (../) and absolute paths are rejected.
  • Symlinks inside the vault that resolve outside it are rejected (realpath containment).
  • Single files above a size limit are refused (DoS / context guard).
  • Writes are atomic (temp file + rename), so a crash can't leave a torn note.

Usage

Claude Code — plugin (easiest)

/plugin marketplace add Abhishekkumar2021/mcp-suite
/plugin install notes

Claude Code — manual

claude mcp add notes --env NOTES_DIR=$HOME/notes -- npx -y @abhishekmcp/notes

Claude Desktop — MCPB (one-click, no Node required)

Download notes-<version>.mcpb from the latest release and drag it onto Claude Desktop → Settings → Extensions. A folder picker lets you choose your notes directory.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "notes": {
      "command": "npx",
      "args": ["-y", "@abhishekmcp/notes"],
      "env": { "NOTES_DIR": "/absolute/path/to/your/notes" }
    }
  }
}

To share a vault read-only, add "NOTES_READONLY": "1" to env.

Develop from source

npm install                      # from the repo root
npm run build -w servers/notes
node servers/notes/dist/index.js # NOTES_DIR=... to point at a vault

Publishing to npm

Publishes automatically via GitHub Actions (Trusted Publishing / OIDC) when a release tagged notes-v<version> is created. See the repo root for the CD workflow.

License

MIT

Keywords

mcp

FAQs

Package last updated on 28 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts