MCPVault

run_static_analysis

MCP tool from Contextplus by forloopcodes

Run native linters and compilers to find unused variables, dead code, and type errors. Supports TypeScript, Python, Rust, Go.

How to use it

run_static_analysis is exposed by the Contextplus MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the run_static_analysis tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Contextplus

$npx -y contextplus init claude
FULL CONTEXTPLUS LISTING

Other tools in Contextplus (16)

add_interlinked_context

Bulk-add nodes with auto-similarity linking (cosine ≥ 0.72 creates edges automatically).

create_relation

Create typed edges between nodes (relatesto, dependson, implements, references, similarto, contains).

get_blast_radius

Trace every file and line where a symbol is imported or used. Prevents orphaned references.

get_context_tree

Structural AST tree of a project with file headers and symbol ranges (line numbers for functions/classes/methods). Dynamic pruning shrinks output automatically.

get_feature_hub

Obsidian-style feature hub navigator. Hubs are .md files with [[wikilinks]] that map features to code files.

get_file_skeleton

Function signatures, class methods, and type definitions with line ranges, without reading full bodies. Shows the API surface.

list_restore_points

List all shadow restore points created by proposecommit. Each captures file state before AI changes.

propose_commit

The only way to write code. Validates against strict rules before saving. Creates a shadow restore point before writing.

prune_stale_links

Remove decayed edges (e^(-λt) below threshold) and orphan nodes with low access counts.

retrieve_with_traversal

Start from a node and walk outward — returns all reachable neighbors scored by decay and depth.

search_memory_graph

Semantic search with graph traversal — finds direct matches then walks 1st/2nd-degree neighbors.

semantic_code_search

Search by meaning, not exact text. Uses embeddings over file headers/symbols and returns matched symbol definition lines.

semantic_identifier_search

Identifier-level semantic retrieval for functions/classes/variables with ranked call sites and line numbers.

semantic_navigate

Browse codebase by meaning using spectral clustering. Groups semantically related files into labeled clusters.

undo_change

Restore files to their state before a specific AI change. Uses shadow restore points. Does not affect git.

upsert_memory_node

Create or update a memory node (concept, file, symbol, note) with auto-generated embeddings.