nREPL MCP Server

get_ns_vars

Get all public vars (functions, values) in a namespace with their metadata and current values. Example:

  • List main namespace vars: (get_ns_vars {:ns "main"}) Returns a map where keys are var names and values contain:
  • :meta - Metadata including :doc string, :line number, :file path
  • :value - Current value of the var

Input Schema

NameRequiredDescriptionDefault
nsYesNamespace to inspect

Input Schema (JSON Schema)

{ "properties": { "ns": { "description": "Namespace to inspect", "type": "string" } }, "required": [ "ns" ], "type": "object" }

You must be authenticated.

Other Tools