AmniTeX
Local MCP server that trims context and tokens for AI coding assistants like Claude Code
AmniTeX is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- Windows, macOS, Linux
- Runs
- Locally
- Version
- 0.4.8
- Listing updated
Similar MCP servers
Install
In Claude Desktop → Settings → Extensions
https://github.com/Amnibro/amnitex/releases/download/v0.4.8/amnitex.mcpbDownload the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.
Using several servers? Build one config file with the MCP config generator.
About AmniTeX
Long coding sessions get slower and pricier because every reply re-reads the whole conversation. Amnitex runs on your machine and tunes Claude Code to compact earlier, then restores the last few turns afterward. Long shell output is written to disk with only the start, the end and any error lines kept in context.
Instead of loading whole files, the assistant asks which file and line holds a given item and reads only those lines. Each finished turn is stored word for word in a local folder, so earlier names, hashes or rules can be looked up exactly rather than re-explained. The index uses no embeddings and no model calls.
It suits developers who use Claude Code, Cursor, Windsurf, Gemini CLI or OpenAI Codex and want lower token use on large projects. The install wires every supported app it finds, and a replay command estimates savings from your own past sessions.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 6 tools read data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- atex_searchName suggests: reads
- Searches the local knowledge base, with an option for exact text scans.
- atex_recall
- Returns a stored item by key, optionally limited to a line range or matching lines.
- atex_remember
- Stores a fact the user or assistant asks to keep.
- atex_list_keysName suggests: reads
- Lists stored keys under a prefix.
- atex_stats
- Reports knowledge base size and fill.
- atex_where
- Finds which files hold a query, with line numbers and one best line each.
What it does
- Earlier compaction
- Sets Claude Code to compact at a lower token count and restores the last three turns afterward.
- Long output kept on disk
- Large command output is saved to a file, with the start, end and error lines kept in context.
- Line-level file lookup
- Finds which files and lines match a query and reads only those lines.
- Exact turn memory
- Stores each completed turn locally so earlier details come back word for word.
- Session replay
- Estimates input and cost savings from your own Claude Code sessions without making model calls.
- Local and free
- Runs on your computer with no account, and nothing is sent to a server except an optional signed update check.
Good for
- Cutting token spend on long Claude Code sessions in a large codebase
- Finding the exact file and line for a function without reading whole files
- Recalling a port, hash or rule from earlier in a session without asking again
- Keeping project facts across sessions in several AI coding tools
- Checking how much context savings a given workflow would produce
Pricing
Open source
Free and MIT-licensed; no paid plan listed.
Prices change. Check amni-scient.com before you buy.
AmniTeX FAQ
Is AmniTeX free?
Yes. Amnitex is MIT-licensed, the source is on GitHub, and there is no account, plan or license key.
Does AmniTeX send my code anywhere?
No. Stored data stays in a folder on your computer. The installer downloads the program from GitHub, and that is the only time it goes online apart from an optional daily update check.
What does AmniTeX change in Claude Code?
It registers its MCP server and adds hooks and a compact window to the Claude Code settings file. The previous file is saved as a backup, and uninstalling removes the changes.
Does AmniTeX use embeddings or a vector database?
No. It uses no embeddings and no model, and lookups are exact matches.
What are the best alternatives to AmniTeX?
The closest alternatives to AmniTeX are Kodelyth ECC, Context Mem, Code Context Engine, Weft and Token Optimizer MCP.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.