korinfra

general MCP Server

Open-source FinOps CLI for AWS. Scans your account, finds cost and security waste, and auto-generates the Terraform fixes. Rule-based core, optional AI assist for complex patches.

VerifiedInstall Ready
generalgeneralaws
3 views1 stars0 forksv0.1.3Apache-2.0

Why This Matters

Discovered via github-topic:mcp and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
1
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx korinfra

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "korinfra": {
      "command": "npx",
      "args": [
        "korinfra"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

36
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (36)

Command

What it does

report

Export to JSON, CSV, or HTML with inline SVG charts

resources

Browse and filter all scanned resources

changes

Audit recent AWS API activity (CloudTrail)

init

Setup wizard — AWS profile, AI provider, API key

RDS-007

Multi-AZ on dev/staging — disable and halve the cost

Level

What is stripped

recommend

Review saved recommendations. `--refresh` re-runs analysis

doctor

Verify credentials, config, storage, and AI provider

EBS-001

Unattached volumes still billing

costs

Cost Explorer breakdown — `--days N`, `--group-by service\

security

46 Terraform security rules — `--dir <path>`

Rule

Finding

RDS-005

Publicly accessible RDS instance

fix

AI reads Terraform, generates patch, opens GitHub PR *(AI required)*

config

View or edit config values at runtime

tag

No

tags

Audit required tags — `suggest` uses AI

EC2-001

Instance with <5% CPU for 7+ days

korinfra

AWS Trusted Advisor

scan

Full cost + security scan

history

Browse past scans, diff between them

serve

Start MCP server — `stdio` (default) or `--http --port N`

S3-004

Bucket without server-side encryption (SSE-S3 is free)

pricing

Inspect or refresh the local AWS pricing cache

EC2-003

m4/c4/r4 family — faster current-gen is cheaper

Partial

✓

mcp

Install MCP server into Claude Code or Cursor

LAM-001

Lambda with zero invocations

EBS-003

gp2 → gp3 migration — 20% cheaper, same performance

strict

+ private IPs, external domain names

minimal

AWS access keys, API keys, GitHub tokens, JWTs, PEM keys

KorInfra

AWS Trusted Advisor

rules

List built-in cost optimization rules — `list --json`, `list --filter <category>`

Key

Action

Limited

Pricing only