How to Use AWS price file metadata in Claude Code
Returns source file metadata and columns for an AWS pricing publication. Use it to inspect the publication and CSV layout before importing product rows or reviewing a changed source file.
Prompts to try with AWS price file metadata in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use AWS price file metadata for AmazonEC2 and compare the returned columns with this project's CSV importer. Identify any columns the importer would drop.
Use AWS price file metadata to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from AWS price file metadata and tell me what changed since last week.
Check AWS price file metadata and summarize what you find in three bullet points.
Pull the newest data from AWS price file metadata and give me the result as a table.
How to set up AWS price file metadata in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run AWS price file metadata
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "pricing-us-east-1-amazonaws-com/cloud-pricing/source_status", "input": { "region": "<region>", "version": "<version>", "offer_code": "<offer_code>" } }'
Then paste one of the prompts above: Claude Code finds AWS price file metadata on Spiral, shows the price and runs it.
AWS price file metadata providers and prices
Spiral runs AWS price file metadata through Alexandria. Open a card for today's price, with every fee included.
What can you do with AWS price file metadata in Claude Code?
Build a traceable AWS catalog import for your project's estimator. A coding agent can work through service discovery, regional coverage, publication history, file metadata, and product rows to make the import reflect AWS's published catalog.
Build an AWS catalog for an internal estimator
Discover published services, inventory their regional files and available versions, inspect source layouts, and import product rows. Keep the catalog publication alongside the estimator's assumptions.
Prepare a weekly AWS catalog change digest
Compare service discovery results, regional coverage, publication history, source metadata, and collected rows with the previous run. Report catalog additions and changed product terms separately.
Create a planning baseline for a cloud migration
Identify the AWS services under consideration, map their published regional coverage, and collect relevant product terms. Include publication history and source metadata so reviewers can identify the catalog used for the plan.
Document the inputs to a procurement review
Assemble the service identifiers, regional file references, publication history, source layout, and product rows behind an AWS catalog comparison. Give reviewers enough evidence to trace each comparison to its source publication.
Inspect Amazon S3 usage tiers
Inspect the price file's columns, then collect Amazon S3 product rows and separate storage and request terms by usage measurement and tier boundaries.
Review publication activity before refreshing an import
Check Amazon EC2 publication history and inspect the current source metadata. Use the results to decide whether the existing catalog import needs review.
More on AWS price file metadata and Claude Code
Overview
AWS price file metadata in other agents
Questions about AWS price file metadata in Claude Code
Can Claude Code use AWS price file metadata?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run AWS price file metadata like any built-in tool.
How much does AWS price file metadata cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use AWS price file metadata in Claude Code?
No. Spiral runs AWS price file metadata on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up AWS price file metadata in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while AWS price file metadata runs?
AWS price file metadata runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
How often does AWS update the catalog?
Price list files can change at any time. AWS sends a notification when it updates a file, so a daily check can span multiple publications.
How far back does the publication history go?
The service version index lists the historical publications available for that service, with effective start and end dates. Check the returned versions to establish the periods represented for Amazon EC2, Amazon S3, or another service.
Is the catalog limited to US East?
AWS publishes regional indexes that link to pricing for the specified service, period, and region. Use the service's regional index to establish coverage rather than treating the pricing host's location as the coverage boundary.
Does one product row describe every usage tier?
AWS price dimensions include pricing tier limits and usage measurement. A tiered service therefore needs its applicable dimensions considered together when interpreting catalog rates.
What identifies the currently active historical version?
In an AWS service version index, a version without an effective end date is the currently active version. The effective period is separate from the index's publication timestamp.
Start using AWS price file metadata in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


