npx sigmap
Zero dependencies. 21 languages. Built in production. Free forever.
SigMap is an open-source AI context engine that solves one of the most expensive problems in modern software development: your AI coding assistant is reading your entire codebase every single time you ask it a question.
That costs you money. It slows down responses. And it causes hallucinations.
SigMap fixes this at the root — with one command, no configuration, and no dependencies.
When you use Claude, GitHub Copilot, Cursor, or ChatGPT for coding, here's what happens behind the scenes:
At scale, this compounds fast. A team of 10 developers running 20 AI sessions per day is burning millions of tokens weekly on context that doesn't help.
npx sigmap
One command. SigMap scans your entire codebase and extracts only the signals that matter — function signatures, class definitions, type declarations, exports, and interfaces — across 21 programming languages.
The result is a compact, structured signature map written automatically to .github/copilot-instructions.md, which is natively picked up by Claude, GitHub Copilot, Cursor, ChatGPT, and any MCP-compatible LLM.
Your codebase (~80,000 tokens)
│
▼
SigMap scans & extracts
function signatures
class definitions
type declarations
exports & interfaces
│
▼
Compact context (~2,000 tokens)
│
▼
AI tools auto-read it ──► Better answers. Lower cost. Zero hallucinations.
No configuration files. No setup. No dependencies. Works in about 10 seconds on any project.
Validated across 18 real-world repositories — not toy examples, not synthetic benchmarks.
| Metric | Without SigMap | With SigMap | Improvement |
|---|---|---|---|
| Task Success Rate | 10% | 59% | +490% |
| Avg Prompts per Task | 2.84 | 1.59 | -44% |
| Tokens per Session | ~80,000 | ~2,000 | -97.5% |
| Correct File Found | 13.6% | 84.4% | +520% |
| Hallucination Risk | 92% | 0% | -100% |
Full benchmark methodology and raw data: sigmap-benchmark-suite
Reduces context from ~80,000 tokens to ~2,000 tokens per AI session. Directly translates to lower API costs and faster response times.
Install and run via npx sigmap — no configuration, no setup, no package bloat. Works on any machine with Node.js.
Full support for: JavaScript, TypeScript, Python, Java, Go, Rust, C#, C++, C, Ruby, Swift, Kotlin, PHP, Scala, Haskell, Elixir, Dart, Lua, R, Julia, and Shell.
Native Model Context Protocol integration. Works directly with Claude, ChatGPT, and any LLM that supports MCP — no middleware, no extra setup.
SigMap caches processed signatures using SHA hashing. Unchanged files are never reprocessed. In production environments, this achieves approximately 70% LLM call reduction on repeated runs.
Writes directly to .github/copilot-instructions.md — the file that Claude, Copilot, and Cursor auto-read before every session. No manual steps required.
No install needed:
npx sigmap
Global install:
npm install -g sigmap
sigmap
With MCP (Claude / ChatGPT integration):
{
"mcpServers": {
"sigmap": {
"command": "npx",
"args": ["-y", "sigmap", "--mcp"]
}
}
}
Output example:
✓ Scanned 847 files across 21 language parsers
✓ Extracted 2,341 signatures
✓ Reduced context: 81,420 tokens → 1,987 tokens (97.6% reduction)
✓ Written to .github/copilot-instructions.md
✓ Cached 94% of unchanged files (SHA match)
Done in 8.3s
SigMap was not built as a side project or hackathon demo. It was developed and validated inside a production banking environment at ING, where:
The same engine that runs in one of Europe's largest banks is available free, open source, under MIT license.
Individual developers using Claude, Copilot, Cursor, or ChatGPT who want better answers and lower costs.
Engineering teams running LLM-powered workflows at scale who need to control token spend without sacrificing context quality.
AI engineers building RAG pipelines who need clean, structured codebase context as input.
Solution architects integrating LLMs into existing systems who can't afford hallucinations in production.
SigMap operates as a pure extraction layer — it never modifies your code, never sends data to external servers, and never requires API keys.
Project files
│
├── JavaScript/TypeScript parser
├── Python parser
├── Java parser
├── Go parser
├── Rust parser
├── ... (21 total)
│
▼
SHA cache layer (skip unchanged files)
│
▼
Signature aggregator
│
├── .github/copilot-instructions.md ← auto-read by AI tools
├── MCP server endpoint ← Claude / ChatGPT direct
└── stdout / pipe ← CLI / CI integration
Everything runs locally. Your code never leaves your machine.
| Resource | Link |
|---|---|
| 🌐 Documentation | https://manojmallick.github.io/sigmap/ |
| 📦 npm package | https://www.npmjs.com/package/sigmap |
| 🔗 GitHub | https://github.com/manojmallick/sigmap |
| 📊 Benchmark Suite | https://github.com/manojmallick/sigmap-benchmark-suite |
# Try it right now — no install needed
npx sigmap
MIT licensed. Free forever. No API key. No account. No telemetry.
Built by Manoj Mallick — Solution Architect, ING Bank Amsterdam. 15+ years EU FinTech. Open source contributor.
No comments yet.
Sign in to be the first to comment.