slicegerp

haxo98098/slicegerp
★ 0 stars Python AI/LLM Updated today
grep that returns ranked, token-budgeted code slices — built for LLMs and coding agents. CLI + Python library + MCP server, zero dependencies.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "slicegerp": {
      "command": "uvx",
      "args": [
        "slicegerp"
      ]
    }
  }
}

Or install with pip: pip install slicegerp

README Excerpt

**grep that returns ranked, token-budgeted code slices — built for LLMs and coding agents.** Plain `grep` gives you matching lines with no context. "Read the whole file" gives you context but burns thousands of tokens on code the model doesn't need. `slicegrep` sits in between: it greps a file or directory, extracts only the **relevant slices**,

Topics

claudecode-searchcoding-agentscontext-engineeringdeveloper-toolgrepllmmcppythontoken-optimization