Infrawise
Your AI coding assistant finally knows your infra.
Website ·
Docs ·
Quick start
Infrawise gives AI coding assistants deterministic infrastructure awareness.
It statically analyzes your codebase, cloud infrastructure, and database schemas, then exposes that context through MCP so tools like Claude Code can understand your actual tables, indexes, query patterns, and service relationships instead of guessing from source files alone.

Why this exists
New software developers don't write wrong code. Claude Code writes wrong code and they ship it. Infrawise is the only thing standing between Claude Code's generated output and a production incident.
AI coding assistants can read your source files but have no deterministic knowledge of your infrastructure. They do not know which GSIs exist, how tables are partitioned, which functions already trigger scans, or where indexes are missing. So they guess.
Infrawise replaces guessing with infrastructure-aware context.
Without Infrawise, an AI assistant might:
- Suggest a
.scan() on your Orders table that has 50M rows
- Recommend adding a GSI on
status that you already have
- Write a
SELECT * when you need to keep query cost low
- Not notice that 5 functions are already hammering the same partition key
With Infrawise, it knows:
- Your exact table schemas, partition keys, sort keys, and GSIs
- Which functions query which tables and how
- Which patterns are already flagged as high severity
- The exact
CREATE INDEX SQL or GSI config for your tables — not generic advice
Installation
Requires Node.js 22 or later (node --version).
npm install -g infrawise
or use without installing:
npx infrawise start --claude
Quick start
cd your-project
infrawise start --claude
That's it. Infrawise will:
- Probe your environment and generate
infrawise.yaml (first time only — asks which AWS profile to use only if you have several)
- Scan your AWS services, databases, and codebase
- Write
.mcp.json so your editor auto-connects on every future launch
- Open Claude Code with all 22 MCP tools ready
Every time after:
claude # no infrawise command needed — editor manages the connection
Analysis is cached for 24 hours. infrawise serve --stdio (spawned automatically by your editor) connects and lists tools without loading the snapshot or running analysis. The first infrastructure tool call loads the cache; if it is missing or expired, that call waits for a fresh analysis. Concurrent calls share that initial analysis. Run infrawise start before opening your editor to prepare the cache and avoid that first-call wait. File watching starts once the snapshot is loaded. HTTP serve still loads its snapshot before listening.