Vaner
IntegrationsPer-client guides

Claude Code + Vaner (MCP)

Connect Claude Code to Vaner over MCP for predictive, repo-grounded context.

Claude Code supports the Model Context Protocol out of the box. Point it at vaner mcp and Vaner will serve scenario-ranked context to your agent before every prompt.

Install

If you haven't installed Vaner yet:

curl -fsSL --proto '=https' --tlsv1.2 https://vaner.ai/install.sh | bash
vaner init --path .

Connect Claude Code

claude mcp add --transport stdio --scope user vaner -- uvx --from 'vaner[mcp]' vaner mcp --path .

Verify

Run `/mcp` inside a Claude Code session — `vaner` should appear with the five scenario tools.

Upstream docs

https://docs.anthropic.com/en/docs/claude-code/mcp

Verify

Run /mcp inside a Claude Code session — vaner should appear with the five scenario tools.

If Claude Code reports the server as failed, run vaner mcp --path . manually in a terminal and read the error. The most common failure is a missing backend API key — confirm with vaner config show.

What this unlocks

  • Scope /tmp work to your repo: Claude Code hits Vaner for list_scenarios before running its own tools.
  • Switch between user / project / local scope without editing JSON by hand.
  • Tight loop with claude --resume — Vaner keeps the ponder cache between sessions.

See also

On this page