Skip to content
| Marketplace
Sign in
Visual Studio>Tools>ClaudeVS - AI Assistant for Visual Studio
ClaudeVS - AI Assistant for Visual Studio

ClaudeVS - AI Assistant for Visual Studio

Preview

VoAnh

|
1,426 installs
| (2) | Free
Claude AI VSIX Extension for Visual Studio 2022
Download

ClaudeVS brings the power of Claude AI by Anthropic directly into your Visual Studio 2022 environment — no more switching between your editor and a browser tab. Connect it to your Claude Pro or Max subscription and skip per-token API billing entirely.

ClaudeVS__1.png

✨ Features

  • 🔑 Two Ways to Connect — Use your existing Claude Pro/Max subscription through the Claude Code CLI, or a classic Anthropic API key. Switch between them from a dropdown at any time
  • 🤖 Agentic Coding — In Claude Code mode, Claude doesn't just talk about your code: it searches your solution, reads the files it needs, and applies edits itself
  • 🛡️ Permission When It's Needed — Claude starts read-only. The moment it wants to edit a file or run a command, a card appears with an Allow button. Grant it and Claude resumes the very same session — no repeating yourself
  • ⌨️ Live Streaming Responses — Answers appear token by token, with a running log of every tool Claude touches (› Read Form1.cs, › Grep …) so you always see what it's doing
  • 🔘 One-Click Answers — When Claude needs a decision from you, it offers the options as clickable buttons instead of making you retype them
  • 🧠 Context-Aware by Default — The file you're editing and your solution root are passed along automatically. No checkboxes to remember
  • 🔄 Always-Current Model List — API key mode fetches the exact models your key can use straight from Anthropic. Claude Code mode offers plan-aware aliases (Default, Sonnet, Opus, Haiku, Fable, Opus-plan) that never go stale
  • 📝 Full Markdown Rendering — Headings, tables, lists, blockquotes, links and images render properly. Code blocks carry a language label and a one-click Copy button
  • 💾 Persistent Configuration — Your connection mode, model choice and API key are saved locally and restored between sessions
  • ⚡ Right Where You Work — Open it from View → ClaudeVS, dock it anywhere, resize it as narrow as you like

🚀 Getting Started

Step 1 — Install the Extension

Download and double-click the .vsix file to install, or search for ClaudeVS in Extensions → Manage Extensions inside Visual Studio 2022.

Step 2 — Pick How You Want to Connect

Choose one of the two options below.

Option A — Claude Pro / Max subscription (recommended)

Best if you already pay for Claude. No extra cost per message, and you get the full agentic toolset.

  1. Install the Claude Code CLI. In PowerShell:

    irm https://claude.ai/install.ps1 | iex
    

    Or with WinGet: winget install Anthropic.ClaudeCode

  2. Open View → ClaudeVS, select Claude Code (Pro/Max) in the mode dropdown, and click Sign in to Claude. A terminal opens running claude login — sign in with your Pro or Max account, then close it. ClaudeVS re-checks on its own.

    (Prefer the terminal? claude login from any shell does exactly the same thing.)

Using nvm, fnm or Volta? Avoid npm install -g @anthropic-ai/claude-code. npm installs the shim inside the active Node version's folder, so it drops off your PATH the moment you switch Node versions. The native installer above needs no Node at all — it places claude.exe in %USERPROFILE%\.local\bin and keeps itself updated. (ClaudeVS will still hunt through nvm/fnm/Volta version folders as a fallback, but the native install is the durable fix.)

ClaudeVS finds claude automatically in the usual install locations. If yours lives somewhere unusual, set the CLAUDEVS_CLI_PATH environment variable to the full path of claude.exe and restart Visual Studio.

Option B — Anthropic API key

Best if you don't have a subscription, or you want a specific pinned model version. Billed per token.

  1. Visit platform.anthropic.com and sign in
  2. Go to API Keys and generate a new key
  3. Open View → ClaudeVS, select API Key in the mode dropdown, paste the key and click Save

Step 3 — Start Working

Type your question in the input box and press Ctrl+Enter or click Send. Pick a model from the second dropdown whenever you want to trade speed for depth.

💡 Usage Tips

  • Just name the file. "Fix the date comparison in function1" — Claude will find and read Form1.cs on its own
  • Let it edit. When the permission card appears, click Allow edits and continue and Claude applies the change directly instead of handing you a snippet to paste
  • Ask it to verify. Grant command access and say "run the build and fix whatever breaks"
  • Broad questions work too. "What design pattern fits this?", "Write unit tests for OrderService", "Why is this query slow?"
  • Revoke any time. Once granted, an Edit ✕ chip sits in the header — click it to drop back to read-only, or hit Clear to start fresh
  • Paste error messages straight in; Claude will trace them back through your solution

⚙️ Requirements

Requirement Version
Visual Studio 2022 (v17.0 or later)
Architecture x64 (amd64)
.NET Framework 4.8
Access to Claude Either a Claude Pro/Max plan + Claude Code CLI, or an Anthropic API key

🔐 Privacy & Security

  • ClaudeVS never handles your Claude login. In Pro/Max mode it simply runs the Claude Code CLI already installed on your machine, which you authenticated yourself with claude login. The extension does not read, store, or transmit any credential
  • Your subscription is actually used. ClaudeVS deliberately removes ANTHROPIC_API_KEY from the CLI's environment, so you're never silently billed for API usage when you meant to use your plan
  • Your API key stays local. It's stored in your user profile at %AppData%\ClaudeVS\apikey.txt, alongside settings.json and a cached model list. Nothing leaves that folder
  • Claude only touches what you allow. Every session starts read-only. File edits and shell commands require an explicit click, apply only to that conversation, and can be revoked at any moment
  • No middleman. Requests go from your machine to Anthropic directly. This extension collects no telemetry and runs no server
  • See Anthropic's Privacy Policy for how your prompts are handled on their side

☕ Support

If you find ClaudeVS useful, consider leaving a ⭐ rating on the Marketplace — it helps others discover the extension and motivates continued development!


ClaudeVS is an independent extension and is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude" and "Claude Code" are trademarks of Anthropic PBC. Use of Claude through this extension is subject to Anthropic's Usage Policy and the terms of your own Claude plan or API account.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft