ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

ATR: Automation for Token Reduction

โดย JacobBhatt12รุ่น 1.0.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.JacobBhatt12/atr

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

MCP proxy that hides tool lists and shrinks tool results so your AI uses fewer tokens.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

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

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add atr -- uvx atr-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub JacobBhatt12 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32620 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 79% ของอีก 32620 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32620 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

ATR: Automation for Token Reduction ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry 9 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Intervals MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวานซืน
ติดตั้ง

Intervals MCP

โดย ljcl

Remote MCP server for intervals.icu run data and analysis

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

ATR: Automation for Token Reduction

ATR makes your AI use fewer tokens when it works with tools. Fewer tokens means lower bills and fewer "usage limit reached" messages.

It works with Claude Code, Codex, Claude Desktop, Cursor, Windsurf, claude.ai and ChatGPT. It's free. Run it on your own computer, or add the hosted connector to a chatbot in a minute, with no install: https://atr-mcp.vercel.app (connector link: https://atr-mcp.vercel.app/mcp).

The problem

When an AI uses tools (GitHub, a browser, a database, your test runner), two things waste tokens:

  1. Every tool's instructions are sent on every message, even tools the AI never uses. Ten MCP servers can mean 10,000+ tokens before you've typed anything.
  2. Tool results are huge. A list of GitHub issues, a web page or a test run can be tens of thousands of tokens, and all of it goes into the chat.

What ATR does

ATR sits between your AI app and your tools:

  • It hides the tool list. The AI sees a few small ATR tools and searches for the tool it needs when it needs it.
  • It shrinks results. Before the AI sees a result, ATR removes the noise and keeps what matters. A failing test run keeps the failures and drops the passing tests. A web page keeps its text and links and drops the layout.
  • Nothing is lost. When ATR cuts something, it keeps the full result, and the AI can ask for any part of it.
 

Get started

You need Python 3.11 or newer.

pip install atr-mcp

atr setup

atr setup finds the AI apps on your computer, shows you what it will change, and asks first. Then it:

  1. moves your MCP servers behind ATR, and
  2. adds ATR to each app.

Restart your apps and you're done.

CommandWhat it does
atr setup --dry-runShows the plan without changing anything
atr setup --undoPuts every app back exactly how it was
pip install --upgrade atr-mcpUpdates ATR

Every file atr setup changes also gets a backup copy (.atr-backup).

Just want to try it?

The demo connects a fake server with 50 tools (GitHub, Slack, logs, a database). Nothing leaves your computer.

claude mcp add atr -- atr serve --demo        # Claude Code

codex mcp add atr -- atr serve --demo # Codex

Ask your AI to *"list the open GitHub issues"*, then *"show ATR stats"* to see how many tokens it saved.


How much it saves

Live tests

We gave AI agents the same browser task with and without ATR: open Hacker News, click "new", then open a GitHub issues page. Each setup ran 3 times, and every answer was correct.

AgentWithout ATRWith ATR
Claude Code$0.237 per task, 13 turns$0.110 per task, 10 turns (54% cheaper)
Codex84k tokens (33k at full price)134k tokens (18k at full price)

Codex is mixed: with ATR it sends about half as many full-price tokens, but more tokens overall.

Single results

What the AI receives, in tokens, measured with python -m benchmarks.bench_atr:

ResultWithout ATRWith ATRSaved
1,000 GitHub issues429,20387999.8%
2,000-line server log61,07220899.7%
git diff with a lockfile change22,29420799.1%
Web page in a browser (Hacker News)12,0234,04666%
50 tools' instructions, on every message12,0561,50887.5%
pytest -v, 303 tests, 3 failing6,68567590%
pip install, 60 packages5,97769788%

In each case, the parts that matter are kept: errors, failing tests, changed code lines, page text and links.

When ATR helps, and when it doesn't
  • Helps most: you use MCP servers that return big results, like GitHub, browsers (Playwright), databases, logs or web pages.
  • Helps a little: plain coding in Claude Code or Codex with no MCP servers. Those apps already trim their own commands, so in our test ATR made no difference there.
  • Can't help: your chat history and the AI's own replies. An MCP server only sees tool calls, never the conversation.

ATR's tools

The AI uses these. You don't need to call them yourself.

In the free hosted connector

ToolWhat it does
atr_fetchReads live web pages, PDFs, Office documents and JSON as compact text
atr_searchSearches the web with DuckDuckGo, Bing and Brave at once and returns one short merged list (about 60 tokens a result); no API key needed
atr_placesFinds local businesses and places with free OpenStreetMap data; no API key needed
atr_siteInspects a website or searches its public sitemap and navigation
atr_weatherGets current weather and up to seven forecast days; no API key needed
atr_queryRetrieves more from a large result ATR kept
atr_statsShows how many tokens ATR has saved

For your MCP servers

ToolWhat it does
atr_find_toolsSearches all your servers' tools and returns the few that fit the task
atr_readRuns a tool that only reads, and shrinks the result
atr_callRuns a tool that changes something (your app can ask you first)
atr_queryReads more of a result that was cut, such as one page, one field or a search

For coding

ToolInstead of
atr_repo_mapOpening files one by one to learn a project
atr_search_codePages of search results
atr_read_fileReading a whole file to see one function. It also says "unchanged" if the AI reads the same part twice
atr_diffA git diff full of lockfiles
atr_runThousands of lines of test or build output
atr_statsShows how many tokens ATR has saved

Safety

  • Secrets are never read, searched or shown, including .env files, private keys, cloud credentials, and files named like api_keys.json. This also applies to tools behind ATR and to atr_diff.
  • Reading and changing are separate. Tools that only read go through atr_read. Anything that changes something goes through atr_call, so your app can ask you before it runs. atr_run (shell commands) always asks.
  • Files stay in allowed folders. File tools only see the folders listed in your settings.

Using ATR in claude.ai or ChatGPT

No install: add the hosted connector https://atr-mcp.vercel.app/mcp the same way (Settings → Connectors → Add custom connector, no sign-in). Then do the one-time step below.

Tell your chatbot to use it. Chatbots pick their own built-in web tools first, and in tests Claude never chose ATR by itself. Add this once under Settings → Profile → personal preferences (or in a Project's instructions):

When I ask you to search the web or read a link, use atr_search and atr_fetch instead of the built-in web tools.

Or skip the setup and ask your question and add "use atr", like "What is the latest on the MCP spec? Use atr." (or "use atr_search", "use atr_fetch"). This is only needed for the web tools. Tools you put behind ATR (GitHub, for example) are found by name.

For your own tools behind ATR, you need a link of your own:

These apps can only reach servers on the internet, so ATR needs a public link.

pip install "atr-mcp[http]"

atr serve --http # prints a link with a secret in it tailscale funnel --bg 8789 # a permanent public https link (or: cloudflared tunnel --url http://127.0.0.1:8789)

Add https:// /mcp/ as a connector:

  • claude.ai: Settings → Connectors → Add custom connector (no sign-in)
  • ChatGPT: Settings → Apps & Connectors → developer mode → create a connector (no sign-in)

Keep the link private. Anyone who has it can use your tools. File reading and shell commands are off over the internet unless you turn them on with --read-files and --allow-run. To change the secret, delete ~/.atr/http_token.


Settings

atr setup writes these for you. You can also edit ~/.atr/config.json yourself:

{

"servers": { // the MCP servers ATR runs for you "github": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"] } }, "budget": 1500, // most tokens one result may use "level": 2, // 1 = keep almost everything, 3 = shrink hard "pin": ["github__create_issue"], // tools to always show (skips the search step) "read_only": ["github__list_*"], // tools that only read, if a server doesn't say so itself "read_roots": ["~"] // folders the file tools may open }


More

No MCP at all? atr compress shrinks a file or your clipboard before you paste it into any chat:

atr compress dump.json --copy

pbpaste | atr compress --copy

Set up by hand: atr init writes the settings file, and atr snippet prints the entry to add to your app's MCP config.

"No module named 'atr'" on macOS: run chflags nohidden .venv*/lib/python*/site-packages/*.pth, or use the entry from atr snippet.

Limits:

  • Online servers that need a sign-in (OAuth) can't go behind ATR yet, so atr setup leaves them in your app.
  • ATR lowers what each message costs. It doesn't change your plan's limits.

For developers

git clone https://github.com/JacobBhatt12/atr && cd atr

pip install -e ".[dev]" python -m pytest atr/tests -c /dev/null # 44 tests python -m benchmarks.bench_atr # the savings table above

FileWhat's in it
atr/server.pyThe MCP server your app talks to
atr/remote.pyThe same server over the internet (atr serve --http)
atr/downstream.pyTalks to the MCP servers behind ATR
atr/compress.pyShrinks results
atr/stash.pyKeeps full results for atr_query
atr/router.pyTool search
atr/code.pyCoding tools
atr/setup.pyatr setup

Next up: remembering repeated tool calls so the same result isn't sent twice, sign-in support for online servers, and a small local model that summarizes long text when cutting would lose meaning.

License: MIT

ถาม PopNx