About Sigmap
Sigmap is an MCP server published by manojmallick in the Blockchain category: ~97% token reduction for AI coding sessions — zero deps, 38 languages, MCP server. Conduid read 23 tools from its source: create_checkpoint, explain_file, get_architecture_overview, get_budget, get_callee_signatures, get_diff_context and 17 more. It is published to npm as sigmap and starts with npx.
The repository has 651 stars and 52 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v8.88.0 (22 Nov 2026): Minor. A new sigmap --init project starts on strategy: "index" and mcp.tools: "locate", because that setup held up in three pre-registered runs in Claude Code (#1084). E… It follows v8.87.0 (16 Nov 2026), and the 5 most recent releases go back to v8.85.0 (28 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include code-context, github-copilot, token-reduction and zero-dependencies.
Install
claude mcp add sigmap -- npx -y sigmapnpx -y sigmapgit clone https://github.com/manojmallick/sigmapTools (23)
create_checkpointSnapshot project state for a session handoff: recent commits, branch, token count and a compact context.| Parameter | Type | Description |
|---|---|---|
| note | string | Optional note to include (e.g. what you were working on). |
explain_fileExplain one file without reading its source: its signatures, what it imports and what imports it. Needs a generated context file.| Parameter | Type | Description |
|---|---|---|
| path * | string | Project-relative path (e.g. "src/services/auth.ts"), as shown in read_context. |
get_architecture_overviewOne-call map of the codebase: module breakdown (files/tokens), the most depended-on hub files, dependency-cycle count and route totals. Extends get_map; use it to orient before read_context / query_context.get_budgetSession spend ledger: estimated tokens SigMap has emitted this session (chars/4, local gain log — NOT the whole chat), optional budget remaining, and context freshness. Check mid-session and degrade gracefully near budget (terse encoding, squeeze, summarize).| Parameter | Type | Description |
|---|---|---|
| budgetTokens | number | Budget override in estimated tokens (default: config sessionBudgetTokens). |
| session | string | Session key to report on (default: SIGMAP_SESSION env or the UTC day bucket). |
get_callee_signaturesReturn the EXACT current signature(s) of named symbols from the index, so you never guess a callee's parameter types from memory. Call before writing code that uses a symbol; unknown names get a closest-match suggestion.| Parameter | Type | Description |
|---|---|---|
| symbols * | array | Symbol names to resolve (e.g. ["validateToken", "UserService"]). |
get_diff_contextFor every changed file (working tree, staged, or vs a base ref): its current signatures plus blast radius — importers, affected tests/routes — with a risk label. One call for a code review or a safe edit. Lists changed files shell-free.| Parameter | Type | Description |
|---|---|---|
| base | string | Optional git ref to diff against (e.g. "main"): files changed between it and the WORKING TREE, committed and uncommitted alike. Omit for working-tree changes vs HEAD. |
| depth | number | Blast-radius BFS depth limit (default: 2). Use 0 for unlimited. |
| staged | boolean | When true (and no base), report only staged changes (`git diff --cached`). |
get_impactBlast radius of changing a file — check it before an edit: direct and transitive importers, affected tests, routes and controllers.| Parameter | Type | Description |
|---|---|---|
| depth | number | BFS depth limit (default: 3). Use 0 for unlimited. |
| file * | string | Project-relative path of the changed file, forward slashes (e.g. "src/extractors/python.js"). |
get_linesFetch an exact line range from a file — use the `path:start-end` anchors in signatures instead of re-opening the whole file. Clamped to the file bounds, secret-redacted, sandboxed to the project root.| Parameter | Type | Description |
|---|---|---|
| end * | number | 1-based end line (inclusive). |
| file * | string | Project-relative path, forward slashes (e.g. "src/config/loader.js"), as in a signature anchor. |
| start * | number | 1-based start line (inclusive). |
get_mapRead a section of PROJECT_MAP.md: import graph, class hierarchy or route table. Needs gen-project-map.js to have been run.| Parameter | Type | Description |
|---|---|---|
| type * | string | Section to retrieve: imports, classes or routes. |
get_method_impactMethod-level blast radius for a symbol: every function that (transitively) calls it, or with direction "callees" every repo function it calls. Finer than get_impact — which functions break, not just which files. JS/TS, Python, Java, Go, Rust; deterministic.| Parameter | Type | Description |
|---|---|---|
| depth | number | BFS depth limit (default 0 = unlimited). |
| direction | string | "callers" (default) = blast radius; "callees" = what the symbol calls. |
| symbol * | string | Function/method name, or "file#name" to disambiguate (e.g. "src/auth/session.js#validateToken"). |
get_routingModel routing hints: which files sit in which complexity tier (fast/balanced/powerful) and which model suits each type of task.list_modulesList the top-level modules (srcDirs) in the context file by token count, to pick a module for read_context.log_session_usageRecord this session's own token usage in SigMap's session store, labelled agent-reported (SigMap cannot verify it). Call at the end of a task with the running session totals; a later call for the same session replaces the earlier one. Omit usage when unknown: it is recorded as unavailable, never as zero.| Parameter | Type | Description |
|---|---|---|
| id | string | Session id. Omit to use one id for this MCP connection. |
| model | string | Model name as the host reports it. |
| usage | object | Billed tokens so far, per request category. |
query_contextRank files for a task or question and return the top-K with signatures and relevance scores — far cheaper than reading all context.| Parameter | Type | Description |
|---|---|---|
| query * | string | Task description or keywords (e.g. "add a new language extractor", "auth module"). |
| topK | number | Maximum number of files to return (default: 10, max: 25). |
query_knowledge_mapQuery the typed knowledge map: nodes (file, symbol, library@version, route, env-var, migration, script) and edges (imports, calls, defines, tests, uses-lib, exposes-route, reads-env). { library } = upgrade impact (lib → importing files → callers → covering tests); { file } = a file's typed neighbors; { env } = files reading an environment variable. Deterministic, cached in .context, local-only.| Parameter | Type | Description |
|---|---|---|
| env | string | Environment variable name — which files read it, and whether a committed .env example declares it |
| file | string | Repo-relative file path for a typed-neighbors view |
| library | string | Declared dependency name for the upgrade-impact walk |
read_contextRead extracted code signatures for the whole project, or only a module path (~50–500 tokens scoped, ~500–4K for everything).| Parameter | Type | Description |
|---|---|---|
| module | string | Optional subdirectory (e.g. "src/services"). Omit for the full context. |
read_memoryRecall the project decision log — recent notes left across sessions (via `sigmap note`) plus the last ranking-session focus. Call at the start of a task to answer "what were we doing and why" without re-reading the codebase.| Parameter | Type | Description |
|---|---|---|
| limit | number | How many of the most recent notes to return (default: 10, max: 50). |
search_signaturesSearch extracted signatures for a keyword, function name or class name; returns matching lines with their file paths.| Parameter | Type | Description |
|---|---|---|
| query * | string | Keyword (case-insensitive). |
sigmap_notify_file_createdCall after writing or changing a file so its signatures are indexed live for this session (new symbols become resolvable by search_signatures / get_callee_signatures).| Parameter | Type | Description |
|---|---|---|
| content | string | Optional file content; read from disk if omitted. |
| path * | string | File path relative to the project root. |
sigmap_notify_file_deletedTell SigMap a file was deleted so its symbols leave the live index.| Parameter | Type | Description |
|---|---|---|
| path * | string | Deleted file path relative to the project root. |
sigmap_notify_symbol_addedFast path: register one new symbol signature in the live index without re-reading the file.| Parameter | Type | Description |
|---|---|---|
| file * | string | File path the symbol belongs to (relative to root). |
| line | number | Optional 1-based line number. |
| signature * | string | The signature line (e.g. "function check(key)"). |
squeeze_outputCompress noisy output (stack trace, CI/build log, JSON payload) before it enters context: keeps error frames, failing steps and JSON shape, strips the noise, adds the top frame's signature. Returns the squeezed text plus reduction stats; unchanged when nothing is squeezable. Deterministic, offline.| Parameter | Type | Description |
|---|---|---|
| content * | string | The raw output to compress. |
verify_suggestionGround an AI code suggestion before writing it: check a snippet or answer against the repository AND the libraries actually installed in node_modules. Flags fake file paths, unresolvable imports, backticked calls in neither the repo nor the installed libraries, and non-existent npm scripts. Does not check member calls, calls in raw code, or whether a library API exists, and reports what it checked and what it did not. Deterministic, offline, no LLM.| Parameter | Type | Description |
|---|---|---|
| code * | string | The suggested code snippet or answer text to verify. |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 3.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by docs-vp/package-lock.json.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 3.0K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README