The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Oci Pricing MCP listing page.
A Model Context Protocol (MCP) server that provides Oracle Cloud Infrastructure pricing data to AI assistants like Claude.
Important Note: This server provides pricing data from Oracle's public pricing API and bundled data. We cannot guarantee that AI assistants will always interpret pricing correctly or identify the absolute cheapest options. Always verify pricing on Oracle's official price list before making decisions. All API calls are free of charge (no authentication required).
AWS, Azure, and GCP all have pricing MCP servers. OCI did not - until now.
| Provider | Pricing MCP | Type |
|---|---|---|
| AWS | aws-pricing-mcp-server | Official |
| Azure | azure-pricing-mcp | Community |
| GCP | gcp-cost-mcp-server | Community |
| OCI | oci-pricing-mcp | Community |
You ask Claude:
What's the monthly cost for a VM with 4 OCPUs and 32GB RAM on OCI?
Claude responds (using this MCP):
You ask Claude:
How much would I save on OCI vs AWS for 5TB of monthly data egress?
Claude responds (using this MCP):
Add this to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop:
| Tool | Description |
|---|---|
get_pricing | Get pricing for any OCI resource by service/type |
list_services | List all OCI services with pricing categories |
compare_regions | Compare pricing across regions (OCI has consistent global pricing) |
list_regions | List all available OCI regions |
calculate_monthly_cost | Estimate monthly spend for a configuration |
quick_estimate | Get cost estimates for common deployment presets |
| Tool | Description |
|---|---|
list_compute_shapes | List VM shapes (E4, E5, A1, GPU, etc.) with pricing |
get_compute_shape_details | Get detailed info for a specific shape |
compare_compute_shapes | Compare pricing between shapes |
| Tool | Description |
|---|---|
list_storage_options | Block, object, file, archive storage pricing |
calculate_storage_cost | Calculate cost for specific storage config |
compare_storage_tiers | Compare all tiers for a given size |
| Tool | Description |
|---|---|
list_database_options | Autonomous DB, MySQL, PostgreSQL pricing |
calculate_database_cost | Calculate database cost |
compare_database_options | Compare options for workload type |
| Tool | Description |
|---|---|
list_networking_options | Load balancers, FastConnect, VPN, egress |
calculate_networking_cost | Calculate networking cost with free tier |
compare_data_egress | Compare OCI egress vs AWS/Azure/GCP |
| Tool | Description |
|---|---|
list_kubernetes_options | OKE cluster options (Basic is FREE) |
calculate_kubernetes_cost | Calculate cluster cost |
compare_kubernetes_providers | Compare OKE vs EKS/AKS/GKE |
| Tool | Description |
|---|---|
list_services_by_category | Preferred. List services in any category: aiml, observability, integration, security, analytics, developer, media, vmware, edge, governance, exadata, cache, disaster-recovery, additional |
get_services_summary | Summary of all service categories with counts |
The individual
list_*_servicestools (e.g.list_aiml_services,list_security_services) still work but are deprecated in favor oflist_services_by_category— prefer passing acategoryto the one tool above.
| Tool | Description |
|---|---|
get_free_tier | OCI Always Free tier details |
get_pricing_info | Pricing data metadata |
| Tool | Description |
|---|---|
fetch_realtime_pricing | Fetch live pricing directly from Oracle's API (full product catalog) |
list_realtime_categories | List all service categories from the live API |
Available presets:
small-web-app - 1 OCPU, 8GB, 100GB storage, LBmedium-api-server - 4 OCPU, 32GB, 500GB storagelarge-database - 8 OCPU, 128GB, Autonomous DBml-training - 8x A100 GPUs (part-time)kubernetes-cluster - 3 nodes, 4 OCPU each| Shape | OCPU Price | Best For |
|---|---|---|
| VM.Standard.A1.Flex (Arm) | $0.01/hr | Best value, Arm workloads |
| VM.Standard.E5.Flex | $0.03/hr | New x86 deployments |
| VM.Standard.E4.Flex | $0.025/hr | Previous gen, still good |
1 OCPU = 2 vCPUs for x86 architectures. OCPUs represent physical cores, so OCI's $0.03/OCPU/hr is equivalent to $0.015/vCPU/hr.
This MCP server supports two data modes:
Pricing data is synced from Oracle's public pricing API and bundled with the server. This provides fast, offline access to the complete OCI pricing catalog.
apiLastUpdated and bundledDataGenerated for verification (see get_pricing_info)The raw-product snapshot and timestamps are auto-refreshed monthly from Oracle's live
API via the refresh-data GitHub Action (curated
category structures are preserved). You can also refresh locally with npm run generate-data,
or get always-live pricing at call time with the fetch_realtime_pricing tool.
For the most current pricing between releases, use fetch_realtime_pricing which queries Oracle's API directly:
Yes! Oracle provides a public pricing API at https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/ that returns all OCI product pricing in JSON format. No authentication is required. This MCP server uses this API for the fetch_realtime_pricing tool.
The bundled pricing data is synced from Oracle's API with each npm release. Check metadata.bundledDataGenerated for the sync date. Use fetch_realtime_pricing between releases to check for updates.
Unlike AWS, Azure, and GCP, Oracle Cloud Infrastructure maintains consistent global pricing across all commercial regions. This simplifies cost planning and means you can deploy anywhere without price variations.
1 OCPU = 2 vCPUs for x86 architectures. OCPUs represent physical cores with hyper-threading, so OCI's $0.03/OCPU/hr is equivalent to $0.015/vCPU/hr when comparing to AWS/Azure/GCP.
This MCP server provides pricing data, not account spend. For actual usage and spend tracking, you would need to use the OCI Cost Management APIs with proper authentication. This could be added as a future enhancement.
The bundled data includes the full product set from Oracle's public pricing API. However, some pricing is not available through this API:
For these, contact Oracle Sales or check the Oracle Cloud Price List directly.
Each bundled data release includes timestamps:
apiLastUpdated: When Oracle last updated their pricing APIbundledDataGenerated: When this package synced the dataYou can verify prices against Oracle's official price list or use the fetch_realtime_pricing tool to get live data.
Jason Wilbur - jasonwilbur.com
Apache 2.0
Issues and pull requests welcome at GitHub.