notepadpp-mcp

notepadpp-mcp is a skill for Claude Code from sandraschi/notepadpp-mcp. It costs 0 tokens per session (785 once invoked), scanned A, original, MIT.

A skill for controlling Notepad++ on Windows through a Python bridge, including files, tabs, text, sessions, plugins, display settings, and code checks.

In plain words
What is it for?
Use it to open, save, search, replace, and edit text; manage tabs and saved sessions; record macros; control plugins; and lint Python, JavaScript, HTML, XML, or JSON files.
Why use it?
It lets an agent automate editor tasks without requiring the user to perform each action manually. It also supports running syntax checks for several file types.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the notepadpp-mcp plugin — 4 skills, 1 MCP server shipped together

Good fit Use it to open, save, search, replace, and edit text; manage tabs and saved sessions; record macros; control plugins; and lint Python, JavaScript, HTML, XML, or JSON files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sandraschi/notepadpp-mcp/notepadpp-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sandraschi/notepadpp-mcp --skill notepadpp-mcp
Clone the repo
git clone --depth 1 https://github.com/sandraschi/notepadpp-mcp

Made for: Claude Code.

Or install notepadpp-mcp, the plugin that ships this one along with the rest of its 4 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notepadpp-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/sandraschi/notepadpp-mcp/notepadpp-mcp/github.svg)](https://agentmods.dev/skills/sandraschi/notepadpp-mcp/notepadpp-mcp)
Your own site
<a href="https://agentmods.dev/skills/sandraschi/notepadpp-mcp/notepadpp-mcp"><img src="https://agentmods.dev/badge/skills/sandraschi/notepadpp-mcp/notepadpp-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notepadpp-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/sandraschi/notepadpp-mcp/notepadpp-mcp"><img src="https://agentmods.dev/badge/skills/sandraschi/notepadpp-mcp/notepadpp-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00785
Opus 5.5 $0.00000 $0.00314
Sonnet 5.5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00078

Measured 1mo ago against content hash e8eb74609075, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

notepadpp-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/notepadpp_mcp/skills/notepadpp-mcp/SKILL.md · 50 lines

How it starts

The opening of the file, as written. The whole thing — 50 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Notepad++ MCP — Agent skill

Description: Automate Notepad++ on Windows via pywin32 MCP bridge. Covers file operations, macro automation, session management, plugin control, text manipulation, syntax linting, and display configuration.

Trigger Phrases

  • "Open [file] in Notepad++"
  • "Save the current tab"
  • "Replace all [pattern] with [replacement]"
  • "Run Python linter on current file"
  • "Install the JSON plugin"
  • "Close all tabs and start fresh"
  • "Find [text] in the current document"
  • "Record a macro to [action]"

Tools (Portmanteau Pattern)

  • file_ops(operation, file_path) — Open, save, close, new files. Operations: open, save, save_as, close, new, info.
  • text_ops(operation, text, ...) — Text manipulation. Operations: insert, replace, find, select_all, get_text, get_length.
  • tab_ops(operation, ...) — Tab/buffer management. Operations: list, switch, close, close_all, activate_by_index.
  • session_ops(operation, ...) — Session save/load. Operations: save_session, load_session, list_sessions.
  • linting_ops(operation, file_path) — Run linters. Operations: python, javascript, html, xml, json, custom.
  • display_ops(operation, ...) — UI display. Operations: word_wrap, show_whitespace, zoom, theme.
  • plugin_ops(operation, ...) — Plugin management. Operations: discover, install, list, run.
  • status_ops(operation) — Server health. Operations: health_check, active_tab, process_info.

Multi-step Workflows (FastMCP 3.1)

  • agentic_notepad_workflow(workflow_prompt, available_tools) — Pass a natural-language goal like "open config.py, find the DEBUG flag, and toggle it". Requires sampling (Ollama or client LLM).
  • suggest_notepad_plan(goal) — Quick plan via ctx.sample when sampling is available. Returns structured step list for manual execution.

Workflow

  1. Status check: status_ops("health_check") to confirm Notepad++ process is accessible.
  2. File target: Use file_ops("info") to see active tab. Use file_ops("open", file_path=...) to open target.
  3. Act: Apply text ops, linting, or plugin commands as needed.
  4. Save/close: file_ops("save") or file_ops("close") to persist.

Read the full file on GitHub · 50 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 50 lines · 0 tokens per session scan A e8eb74609075

Subscribe to this mod's changes

notepadpp-mcp is a skill published in the GitHub repository sandraschi/notepadpp-mcp (6 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 785 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

full-stack-developer

Complete fullstack development mastery covering modern web architectures, automation tools, AI integration, and production deployment practices.

sandraschi/windows-operations-mcp · 25 tokens

full-stack-developer

Complete fullstack development mastery covering modern web architectures, automation tools, AI integration, and production deployment practices.

sandraschi/database-operations-mcp · 25 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

generate-run-commands

Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

microsoft/vscode · 36 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers hosted cloud browsers for AI agents: the browser-use Python library (Browser(usecloud=True)), Playwright, Puppeteer or any CDP client.

browser-use/browser-use · 57 tokens

composio

Route and complete Composio work across Composio For You and Composio Platform. Use when the user mentions Composio; wants an agent to use apps such as Gmail, Slack, GitHub, Notion, Calendar, or Linear; needs first-time setup, an SDK or MCP integration, CLI operation, migration guidance, current documentation, or help…

ComposioHQ/composio · 84 tokens