Open Source · MIT

MCP Infrastructure Layer

Your AI coding assistant
finally knows your infra.

Infrawise gives Claude Code and Cursor a real-time, deterministic map of your AWS services, databases, and IaC — so they stop writing code that assumes wrong indexes, missing queues, and stale schemas.

Get Started
growing
MIT License
No telemetry · runs local

The Problem

AI writes wrong code.
Infrawise is the fix.

"New software developers don't write wrong code. Claude Code writes wrong code and they ship it."
Without Infrawise
# AI writes from assumptions
response = table.query(
  FilterExpression=Attr('userId').eq(user_id)
)
# ❌ Full table scan — GSI doesn't exist
With Infrawise
# AI knows your actual schema
response = table.query(
  IndexName='userId-createdAt-index',
  KeyConditionExpression=Key('userId').eq(user_id)
)
# ✅ Uses real GSI from suggest_gsi

Quick Start

Up and running in 60 seconds.

Terminal
$ npm install -g infrawise

$ infrawise start --claude

✔ Scanning AWS services…
✔ Scanning databases…
✔ Scanning IaC files…
✔ Running 27 analyzers…

✔ 15 MCP tools ready
✔ .mcp.json written
✔ Open Claude Code in this directory

12 findings — 3 high, 6 medium, 3 low

How It Works

Five steps. One command.

1 Scan

Reads AWS services, databases, and IaC files statically — no agents, no polling.

2 Build the graph

Constructs a typed graph of every node and edge: tables, queues, lambdas, topics, buckets.

3 Analyze 27 rule-based analyzers

Rule-based analyzers flag missing indexes, absent DLQs, default Lambda memory, and more.

4 Serve via MCP 15 tools

Exposes the graph and findings as 15 MCP tools your editor can query during generation.

5 AI writes correct code

Right GSI name, right event shape, right DLQ config — grounded in your actual infrastructure.

Works With Your Editor

Drop-in for every AI coding tool.

Standard MCP protocol. No plugins, no extensions, no lock-in.

Claude Code
Cursor
VS Code
Any MCP client

Claude Code reads .mcp.json automatically — just run infrawise start and open your editor.

Full setup guide →

Architecture

How Infrawise connects to your tools.

Infrawise architecture: Your Infrastructure & Code → Adapters → Graph Engine → 27 Analyzers → Cache → MCP Server → AI Coding Assistants YOUR INFRASTRUCTURE & CODE INFRAWISE SERVE AI CODING ASSISTANTS D → A L → A S → A P → A M → A T → A C → A A → G G → AN AN → CA CA → MCP MCP → CC MCP → CU MCP → MC DYNAMODB LAMBDA · SQS · SNS EVENTBRIDGE · RDS SECRETS MANAGER · SSM CLOUDWATCH POSTGRESQL · MYSQL MONGODB TERRAFORM · CDK CLOUDFORMATION TYPESCRIPT / JS ADAPTERS GRAPH ENGINE 27 ANALYZERS CACHE MCP SERVER LOCALHOST:3000/MCP CLAUDE CODE CURSOR ANY MCP CLIENT

Ready to go deeper?

Full configuration reference, all CLI flags, and all 15 MCP tools documented with inputs, return shapes, and usage patterns.

View full docs →