PATK MCP Server
Allows filtering of command output between n8n pipeline nodes, reducing accumulated data and token consumption in workflows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PATK MCP Serverrun npm install and filter the output"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PATK — PFC Agent Token Killer MCP Server
Compress noisy terminal output before it fills Claude's context. npm install, docker build, pytest — filtered down to what actually matters.
Why PATK?
Long coding sessions fill Claude's context with terminal noise.
Each npm install dumps 150–200 lines of deprecation warnings and progress bars.
That's ~10,000 tokens of pure noise per session — eating into your context window.
PATK filters that noise before Claude ever sees it.
Real benchmark (5-command session, Haiku API):
Command | Lines Before | Lines After | Reduction |
| 52 | 6 | 80% |
| 42 | 10 | 77% |
| 35 | 15 | 57% |
| 30 | 21 | 30% |
Session total | 8,380 tokens | 3,829 tokens | 54% ↓ |
Real Haiku API benchmark. No spin — actual measured values.
What this means:
Context fills up 2× slower in long sessions
Claude's summarization is delayed → longer memory of early session details
At CI/CD scale: meaningful API cost reduction
Related MCP server: log-essence
Works in Sub-Agents Too
Sub-agents (Task tool, Explore agents, parallel agents) have their own isolated context and their own separate API costs. PATK installed once works everywhere:
Main agent context: protected
Sub-agent context: also protected (independently)
n8n pipelines: filter between nodes to halve accumulated data
Add to your Task tool prompts:
"Use patk_safe_execute for all bash commands producing > 15 lines output"
Installation
1. Get your free API key
🔜 API keys not yet live. Watch this repo or open an issue to get notified when pfc-token-killer.com launches — 200 free credits, no payment required.
2. Install dependencies
pip install -r requirements.txt3. Add to Claude Code MCP config
Claude Code (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"patk": {
"command": "python",
"args": ["/path/to/server.py"],
"env": {
"PATK_API_KEY": "ptk_your_key_here"
}
}
}
}Or via CLI:
PATK_API_KEY=ptk_your_key_here claude mcp add patk python /path/to/server.pyThat's it. No configuration. No extra dependencies beyond requirements.txt.
Tools
Tool | When to use |
| PRIMARY — Run command + filter in one step. Raw output never enters Claude's context. |
| Filter already-captured terminal output (Bash tool fallback) |
| Check remaining API credits |
| Show configuration and session statistics |
Example: patk_safe_execute
patk_safe_execute(command="npm install", max_lines=50)
→ npm install [✅ Exit 0]
──────────────────────────────────────────────────
added 847 packages in 12.3s
[10× npm warn deprecated — run 'npm audit fix']
// ✂ 80% reduction — 52→6 lines
---
⚡ PATK API | 80% Reduktion | 52 → 6 Zeilen | ~1,200 Tokens gespartFilter Pipeline
ANSI removal — Strip colors, cursor codes
Progress bar detection — Remove
[=====> ] 47%,━━━━━━ 100%, download barsPattern condensation — Group similar lines:
[10× npm warn deprecated],[15× pip Collecting/Downloading]Duplicate compression — Identical lines → single summary
Timestamp clusters — 20 timestamp log lines → 1 summary
Entropy scoring — Remove low-information lines; always keep errors/warnings
Compatibility
Works with any MCP-compatible client:
Claude Code (primary target)
Cursor
Cline
Windsurf
Any client supporting the MCP protocol
Pricing
Plan | Credits | Price |
Starter | 200 | Free |
Hobby | 2,000 | $5 one-time |
Pro | 10,000 | $15 one-time |
Enterprise | 50,000 | $49 one-time / seat |
1 credit = 1 filter call. Credits never expire. No subscriptions.
⏳ Paid plans not yet live. Free Starter tier available at launch. Pre-register now for +50% Early Bird bonus credits on paid plans.
Get your key
→ Register at pfc-token-killer.com (coming soon) → Or watch this repo — we'll announce here when keys go live
Questions / Support
→ Open an Issue — fastest way to reach us
Built by ForgeBuddy & Dante · 2026
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dante7771/patk-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server