Connect Infrawise to Claude Code.

Use the Infrawise MCP server to fetch Azure waste findings directly from Claude Code with delegated, read-only access.

Prerequisite: You need an active Infrawise account with at least one Azure subscription onboarded before these tools will return data. Get Early Access →

Step 1

Run setup

npx @infrawise/mcp-server@latest setup

Step 2

Restart Claude Code

Restart Claude Code to load the MCP server.

Step 3

Start using it

Ask Claude "what's wasting money in my Azure subscription?"

setup

First-time setup — authenticates via browser and registers the MCP server with Claude Code in one step.

npx @infrawise/mcp-server@latest setup

auth

Re-authenticate — use after token expiry, when switching accounts, or on a new machine.

npx @infrawise/mcp-server@latest auth

doctor

Diagnose issues — checks token validity, tenant status, and Lighthouse delegation. Prints the exact fix steps.

npx @infrawise/mcp-server@latest doctor

If setup or access fails, these are the expected states and what they mean.

NOT_AUTHENTICATED

Your credentials are missing or expired. Run the auth command to sign in via browser.

npx @infrawise/mcp-server@latest auth

NOT_ONBOARDED

Your tenant is authenticated but not yet onboarded in Infrawise.

Get Early Access →

PENDING_DELEGATION

Azure Lighthouse delegation is still pending, finish delegation and retry after activation.