Infrastructure Archaeology
FreeNot checkedTracks AWS resource ownership and creation history by searching CloudTrail logs to identify who created EC2 instances, RDS databases, and S3 buckets with timest
About
Tracks AWS resource ownership and creation history by searching CloudTrail logs to identify who created EC2 instances, RDS databases, and S3 buckets with timestamps, creation methods, and source IP addresses.
README
Git blame for your cloud infrastructure. Find who created any AWS resource in 5 seconds.
The Problem
$384K/year wasted on orphaned cloud resources nobody dares to delete.
The Solution
Ask your AI: "Who created EC2 instance i-abc123?"
Get: Creator, timestamp, method (Console/Terraform/CLI), cost, and full context.
Features (v0.1)
- EC2, RDS, S3 resource tracking
- CloudTrail event correlation
- Works with or without audit logs
- <5 second response time
Quick Start
# Clone and install
git clone https://github.com/yourusername/infra-archaeology-mcp.git
cd infra-archaeology-mcp
python3 -m venv venv && source venv/bin/activate
pip install -e .
# Configure AWS
aws configure
Claude Desktop Config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"infrastructure-archaeology": {
"command": "python",
"args": ["-m", "infra_archaeology.server"],
"env": {
"AWS_PROFILE": "default",
"AWS_DEFAULT_REGION": "us-east-1"
}
}
}
}
Restart Claude Desktop.
Usage
"Who created EC2 instance i-1234567890abcdef0?"
"Show me all resources created by [email protected]"
"Who created RDS database prod-db-master?"
Coming Soon
Week 2: Terraform state correlation + orphan detection
Week 3: Idle resource detection + cost optimization
Week 4: Git history integration + full timeline
Requirements
- Python 3.10+
- AWS credentials configured
- CloudTrail enabled (recommended, not required)
- IAM permissions:
cloudtrail:LookupEvents,ec2:Describe*,rds:Describe*,s3:GetBucket*
Architecture
AI Assistant (Claude)
↓ MCP Protocol
Infrastructure Archaeology MCP
↓ boto3
AWS APIs (CloudTrail, EC2, RDS, S3, Cost Explorer)
Contributing
Priority areas: Lambda/ECS/ELB support, error handling, caching, tests.
Fork → Branch → PR. Use Black for formatting.
Impact
- 32% cloud waste eliminated ($384K/year for $1M/month companies)
- 2 hours → 5 seconds investigation time
- 26% developer productivity gain
License
MIT
Built by @gautamrajur | LinkedIn
Star if this saved you from deleting the wrong resource
Installing Infrastructure Archaeology
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gautamrajur/infra-archaeology-mcpFAQ
Is Infrastructure Archaeology MCP free?
Yes, Infrastructure Archaeology MCP is free — one-click install via Unyly at no cost.
Does Infrastructure Archaeology need an API key?
No, Infrastructure Archaeology runs without API keys or environment variables.
Is Infrastructure Archaeology hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Infrastructure Archaeology in Claude Desktop, Claude Code or Cursor?
Open Infrastructure Archaeology on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare Infrastructure Archaeology with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
