find-var-definitions
Find variable and function definitions
How to use it
find-var-definitions is exposed by the Repl MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the find-var-definitions tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Repl MCP
claude mcp add repl-mcp -- clojure -M:repl-mcpOther tools in Repl MCP (25)
Hot-load dependencies (Clojure 1.12+)
Get full AST analysis data for projects
Analyze function call relationships
Verify namespace availability
Clean and organize namespaces
Generate comprehensive test templates
Evaluate Clojure code in the nREPL session
Extract code into new functions
Locate function definitions
Find symbol occurrences
Find all unused variables and functions
Find all usages of variables and functions
Format code using cljfmt
Inline function calls
Lint code with clj-kondo
Lint entire directories
Load Clojure files into the REPL
Profile memory allocations
Profile CPU usage with flamegraphs
Rename functions project-wide
Initialize clj-kondo configuration
Sync deps.edn dependencies
Run all project tests
Run specific tests
Find all symbol usages with context