npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@reneturcios/cloudinfra

v0.1.0

Published

AWS infrastructure-as-code guidance from an MCP client: search Terraform Registry provider and Cloud Control docs, list provider resources, search and inspect modules, read the latest provider version, search user guides, run a deterministic policy scan o

Readme

cloudinfra

AWS infrastructure-as-code guidance as MCP tools: Terraform Registry documentation and module lookups, a local policy scan for terraform plan files, and plain-language explanations of common AWS resource types. cloudinfra is a clean-room rebuild of the core surface of the aws-terraform MCP server, under a new name: fresh code and prose, no copied branding.

Tools (core subset, 10)

search_provider_docs, get_provider_doc_details, search_cc_provider_docs, list_provider_resources, search_modules, get_module_details, get_latest_provider_version, search_user_guide, run_policy_scan, explain_resource.

Not in this subset: Terraform/Tofu CLI execution (init/plan/apply), provider schema generation, pricing and cost estimation, LLM-assisted code or module generation, state manipulation, and any write or deploy operation.

How it works

The docs and module tools are shaped GET requests against the public Terraform Registry API (https://registry.terraform.io/v1, base overridable with TERRAFORM_REGISTRY_URL) through an injectable fetch function. No credentials are needed for any tool.

run_policy_scan is fully local and deterministic. Give it a terraform plan JSON (the output of terraform show -json) and it walks planned_values (including child modules; resource_changes is a fallback) checking four rule families:

  • public-s3 — S3 buckets with a public ACL
  • unencrypted-storage — RDS/EBS without encryption, S3 buckets with no server-side encryption configuration
  • wildcard-iam — IAM policies granting wildcard actions or resources
  • open-security-group — ingress open to 0.0.0.0/0 or ::/0

An external scanner can be injected through the library API as a scan executor; none is bundled — the local checker is the default and the only implemented scanner.

explain_resource answers from a small curated catalogue of common AWS resource types written for this rebuild, and says so plainly for types outside the catalogue.

CLI

npx @reneturcios/cloudinfra explain_resource '{"resource_type":"aws_s3_bucket"}'
npx @reneturcios/cloudinfra run_policy_scan '{"plan":{...}}'
npx @reneturcios/cloudinfra mcp        # stdio MCP server

Each tool name is a subcommand taking one JSON object argument.

MCP client config

{
  "mcpServers": {
    "cloudinfra": {
      "command": "npx",
      "args": ["-y", "@reneturcios/cloudinfra", "mcp"]
    }
  }
}

Docker

docker run -i ghcr.io/cloudcorprecords/cloudinfra

Development

npm install
npm run build
npm test

License

MIT