原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

skimread

作者:avikchakraborty060-create版本 0.1.1i★ –i在你的电脑上运行
注册名称io.github.avikchakraborty060-create/skimread

安装

概览

作者提供的说明(英文原文)

Lossless context guard for coding agents: command digests, file outlines, line-range reads.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "skimread": {
      "command": "uvx",
      "args": [
        "skimread",
        "mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add skimread -- uvx skimread mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "skimread": {
      "command": "uvx",
      "args": [
        "skimread",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "skimread": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "skimread",
        "mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 avikchakraborty060-create 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5554 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5554 个服务器的 59% 更新
  • 基础检查结果等于或优于此分类中其他 5554 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

skimread 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.1)于19天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare广泛使用★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

skimread — skim before you read

A lossless context guard for AI coding agents. Zero dependencies, runs entirely on your machine, MIT licensed. Works with Claude Code out of the box, and with any other agent (Codex, Cursor, Aider, Copilot, your own) through a CLI and an MCP server.

What is it?

When you use an AI coding agent, you pay for every token it reads. Most of that money goes to two things the agent does not actually need:

  1. Reading big files whole. The agent wants one function and reads all 2,000 lines of the file to find it. Next session it does it again.
  2. Reading noisy command output. pytest -v prints 1,500 PASSED lines to tell you about 2 failures. npm install prints 40 deprecation warnings. cargo build lists every crate it compiled.

skimread sits between the agent and those two sources and hands the agent a *skim* first:

  • For files: an outline instead of the file. When the agent is about to read a large file, skimread gives it a map of the file (functions, classes, headings, keys, each with its line range) and says "read only the slice you need". The agent then reads 60 lines instead of 2,000.
  • For commands: a digest instead of the dump. Noisy commands run through skimread. The agent sees the errors, the failing tests, the stack frames in *your* code, and the summary line. The 1,500 PASSED lines are folded into one line that says so.

The key word is lossless. Nothing is thrown away. Every command's full output is kept on your disk, and every digest ends with a handle (skimread show 42, skimread show 42 120-180, skimread show 42 --grep TypeError). Every outline tells the agent exactly which line range to read next. The agent is never stuck and never has to re-run a build to see what it missed.

Why not one of the existing output compressors?

Tools that compress shell output already exist (RTK, token-saver, condense). They share two limits. They cannot touch the agent's own file-reading tool, which is the bigger token sink. And they are lossy: when the compressor drops the one line the agent needed, the agent re-runs the command, and an independent benchmark found that this can cost *more* than not compressing at all. skimread guards file reads too, and keeps everything retrievable.

What it is not
  • Not a cloud service. No network calls, no accounts, no telemetry. ~/.skimread is the whole state.
  • Not an LLM. Everything is deterministic parsing and folding, so it runs in milliseconds and costs nothing.
  • Not a summariser that guesses. It never rewrites a line; it only hides lines it can name and count, and tells you how to get them back.

Numbers

Measured on real tool output (fixtures in tests/fixtures, reproduce with python bench/bench.py). Token counts are estimates (chars / 3.6).

Command outputlinestokens intokens outsaved
pytest -v (1,504 tests, 2 failing)154633,87647399%
vitest --reporter=verbose (579 tests, 3 failing)6537,75169891%
pytest (65 tests, 3 failing, 60 warnings)2943,45149686%
npm install (649 packages, 23 deprecation warnings)411,04820481%
cargo build (37 crates, 3 warnings)6155925455%
go test -v (1 fail, 1 panic)3530113754%
tsc (48 errors in 8 files)481,08762842%
cargo test (1 fail, backtrace)6871348732%
cargo build (2 errors)39408411-1%
vitest (13 files, 3 failing)76613628-2%

The last two rows are the point: when the output is already pure signal (a short build with two errors), skimread leaves it alone. Savings come from noise, never from hiding failures.

File readlinesfull read (tokens)outline (tokens)saved when the agent then reads a 60-line slice
skimread/outline.py5987,64847784%
skimread/formats.py4634,96156976%
skimread/cli.py3684,08635775%

A 4,063-line Go file (net/http/server.go, ~36k tokens) becomes a ~600-token map of structs and methods with line ranges. skimread stats shows what it has saved you so far, in tokens and dollars.

How to use

1. Install (30 seconds)

Needs Python 3.9 or newer, nothing else.

pipx install skimread          # recommended: isolated, on your PATH

or: uv tool install skimread

or, inside any Python environment: pip install skimread

skimread --version

Latest development version straight from GitHub: pipx install git+https://github.com/avikchakraborty060-create/The-top-innovation.

Everything skimread stores lives under ~/.skimread with owner-only permissions and is pruned after 7 days or 300 runs.

2. Claude Code: one command
skimread setup claude            # global: ~/.claude/settings.json

skimread setup claude --project # or per project: .claude/settings.json

Restart Claude Code. That is all. From then on:

  • When Claude tries to Read a file over 400 lines (or 16 KB) without a line range, it gets the outline and the instruction to read a range instead. A ranged read is always allowed. If Claude asks for the same whole file a second time in the session, it gets it, so it is never stuck.
  • When Claude runs a command known to be noisy (npm, pytest, cargo, go, tsc, docker, git diff, find, and about 100 others) the command is rewritten to run through skimread run. Claude sees the digest and the handle. The permission rule Bash( :*) is added so this causes no extra prompts.

This is what Claude sees instead of a 2,014-line file:

skimread: src/server.py is 2,014 lines (~20k tokens). Read only the part you need: call Read again

with offset and limit chosen from this outline. Any Read that sets offset or limit is allowed; ... Outline: 2,014 lines, ~20k tokens (python) 1-38 imports 12 import statements 41-118 class Config 44-58 def init(self, path: str) -> None 61-90 def load(self) -> dict 121-410 class Server(Base) 123-140 def init(self, cfg: Config) 142-229 def handle_request(self, req: Request) -> Response ...

And this is what Claude sees after pytest -v on a suite of 1,504 tests:

$ pytest -v test_many.py  ·  exit 1 in 1.2s

============================= test session starts ============================== (1502 passing/skipped tests hidden) test_many.py::test_some_fail[1] FAILED [ 99%] test_many.py::test_some_fail[3] FAILED [100%] =================================== FAILURES =================================== ______________________________ test_some_fail[1] _______________________________ ... E AssertionError: role mismatch for user 1 E assert 'dev' == 'ops' test_many.py:10: AssertionError =========================== short test summary info ============================ FAILED test_many.py::test_some_fail[1] - AssertionError: role mismatch for user 1 FAILED test_many.py::test_some_fail[3] - AssertionError: role mismatch for user 3 ======================== 2 failed, 1502 passed in 0.98s ======================== [skimread #42: 1546 lines, ~34k tok → 473. Full/slice/search: skimread show 42 [A-B | --grep RE]]

Tuning:

skimread setup claude --wrap all     # route every safe Bash command through skimread

skimread setup claude --wrap off # Read guard only, leave Bash alone skimread setup claude --uninstall # remove the hook and the permission rule skimread config read_threshold_lines 600 # guard only files longer than this (default 400) skimread config budget 4000 # digest size in characters (default 6000) skimread setup print # just print the settings.json snippet to paste yourself

Safety: the Bash wrapper never touches commands that change shell state (cd at the end, export, source), redirect to files, run in the background, look interactive, or are destructive or privileged (rm, sudo, git push, git commit, curl | sh, and so on). Those run exactly as Claude wrote them, under your normal permission rules. A leading cd dir && … is kept outside the wrapper so the working directory still changes.

3. Codex, Cursor, Aider, Copilot, or your own agent

Any agent that can run shell commands can use skimread through the CLI. Put this in the agent's rules file (AGENTS.md, .cursorrules, a system prompt); skimread setup agents prints a ready-made snippet:

skimread outline src/server.py           # map of the file with line ranges

skimread read src/server.py 142-229 # numbered slice skimread run -c "npm test" # digest + handle (shorthand: skimread npm test) skimread show 42 # full stored output skimread show 42 300-360 # slice skimread show 42 --grep "Error" -C 3 # search with context skimread list # recent runs

Agents that speak MCP can use it as a server instead. skimread mcp is a stdio MCP server with tools run, show, outline, read, list; skimread setup mcp prints the config block for mcpServers. Anything on stdin works too: cmd 2>&1 | skimread pipe --cmd "cmd".

4. See what it saved you
skimread stats                 # tokens and dollars saved, all time, by format

skimread stats --price 15 # use your model's input price per million tokens skimread stats --json

How it works

  1. Normalise. ANSI colours and cursor codes are stripped, \r progress bars resolve to their final state, backspaces are applied.
  2. Format-aware reduction. Reducers for pytest, jest/vitest/mocha, cargo, go, npm/yarn/pnpm/bun, pip/uv/poetry, docker, tsc, git diff, and file/listing commands drop only what carries no decision value: PASSED lines, Compiling lines, deprecation warnings (counted), stdlib stack frames. Everything else stays. Unknown tools get the generic path: progress noise removed, exact duplicates counted (line (x5)), runs of near-identical lines folded (… 847 similar lines (159-1005) …).
  3. Scoring and budget. Lines are scored (errors and stack frames high, summaries medium). If the reduced output still exceeds the budget, the head, the tail, and windows around the highest-scored lines are kept; every cut is replaced by … [768 lines omitted (45-812) — skimread show 42 45-812] ….
  4. Spool. The full normalised output is written to ~/.skimread/out/ .txt before the digest is produced, so the handle in the footer always works.
  5. Outline. Python via the ast module (exact signatures and ranges); JS/TS, Go, Rust, Java/Kotlin/C#/Swift, C/C++, PHP, CSS via declaration regexes plus brace matching; Ruby/Elixir/Lua via indentation; Markdown headings; JSON/YAML/TOML keys; CSV shape; log files (time span, error line numbers); Makefiles, shell functions, SQL statements. Huge files fold members into their parents and truncate with a note rather than pretending to be complete.

Honest limitations

  • Token counts are estimates (chars / 3.6), not tokenizer output. Ratios are what matter and they are unaffected.
  • Outlines for brace languages are regex-based. They are meant for navigation, not correctness; a weird formatting style can miss a symbol. Grep still works.
  • The Read guard costs one extra tool round-trip for files just over the threshold. The default (400 lines) is chosen so the outline plus a slice is still much cheaper than the file; raise it if your agent mostly needs whole files.
  • The Bash wrapper runs the command through bash -c in a child process. Shell functions and aliases defined in Claude Code's persistent shell are not visible to it (environment variables and the working directory are).
  • Only Claude C

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx