oci-pricing-mcp
Provides pricing data and cost estimation for Oracle Kubernetes Engine (OKE) clusters, including tools to list cluster options, calculate costs, and compare with other providers.
Offers pricing information for MySQL database options on OCI, including cost calculation and comparison with other database services.
Provides pricing data and cost estimation for PostgreSQL database options on OCI, including cost calculation and comparison tools.
Offers pricing information for VMware-related services on OCI, listed under the 'vmware' service category.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@oci-pricing-mcp What's the monthly cost for a VM with 4 OCPUs and 32GB RAM?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OCI Pricing MCP Server
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).
Why This Exists
AWS, Azure, and GCP all have pricing MCP servers. OCI did not - until now.
Provider | Pricing MCP | Type |
AWS | Official | |
Azure | Community | |
GCP | Community | |
OCI | oci-pricing-mcp | Community |
Example: "How much does a 4 OCPU, 32GB VM cost on OCI?"
You ask Claude:
What's the monthly cost for a VM with 4 OCPUs and 32GB RAM on OCI?
Claude responds (using this MCP):
For a VM.Standard.E5.Flex with 4 OCPUs and 32GB RAM:
OCPU cost: 4 OCPUs × $0.03/hr = $0.12/hr
Memory cost: 32 GB × $0.002/hr = $0.064/hr
Total hourly: $0.184/hr
Monthly cost (730 hrs): $134.32
For comparison, the Arm-based A1 shape would be significantly cheaper:
A1 total: 4 × $0.01 + 32 × $0.0015 = $0.088/hr
Monthly: $64.24 (52% savings)Example: "Compare OCI vs AWS for data egress"
You ask Claude:
How much would I save on OCI vs AWS for 5TB of monthly data egress?
Claude responds (using this MCP):
Data Egress Cost Comparison (5 TB/month):
OCI:
First 10 TB free → $0.00
AWS:
First 10 GB: free
Next 9.99 TB @ $0.09/GB → ~$450/month
Monthly savings with OCI: $450 (100% savings)
OCI includes 10 TB of free outbound data transfer monthly,
making it significantly more cost-effective for data-heavy workloads.Related MCP server: @compute-finance/mcp
Installation
Quick Install (Recommended)
claude mcp add oci-pricing -- npx -y oci-pricing-mcpFor Claude Desktop Users
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:
{
"mcpServers": {
"oci-pricing": {
"command": "npx",
"args": ["-y", "oci-pricing-mcp"]
}
}
}From Source
git clone https://github.com/jasonwilbur/oci-pricing-mcp.git
cd oci-pricing-mcp
npm install
npm run build
claude mcp add oci-pricing -- node /path/to/oci-pricing-mcp/dist/index.jsAvailable Tools
Core Tools
Tool | Description |
| Get pricing for any OCI resource by service/type |
| List all OCI services with pricing categories |
| Compare pricing across regions (OCI has consistent global pricing) |
| List all available OCI regions |
| Estimate monthly spend for a configuration |
| Get cost estimates for common deployment presets |
Compute Tools
Tool | Description |
| List VM shapes (E4, E5, A1, GPU, etc.) with pricing |
| Get detailed info for a specific shape |
| Compare pricing between shapes |
Storage Tools
Tool | Description |
| Block, object, file, archive storage pricing |
| Calculate cost for specific storage config |
| Compare all tiers for a given size |
Database Tools
Tool | Description |
| Autonomous DB, MySQL, PostgreSQL pricing |
| Calculate database cost |
| Compare options for workload type |
Networking Tools
Tool | Description |
| Load balancers, FastConnect, VPN, egress |
| Calculate networking cost with free tier |
| Compare OCI egress vs AWS/Azure/GCP |
Kubernetes Tools
Tool | Description |
| OKE cluster options (Basic is FREE) |
| Calculate cluster cost |
| Compare OKE vs EKS/AKS/GKE |
Service Category Tools
Tool | Description |
| Preferred. List services in any category: |
| 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.
Utility Tools
Tool | Description |
| OCI Always Free tier details |
| Pricing data metadata |
Real-Time Pricing Tools
Tool | Description |
| Fetch live pricing directly from Oracle's API (full product catalog) |
| List all service categories from the live API |
Usage Examples
Ask Claude about OCI pricing
What's the cost of running a VM.Standard.E5.Flex with 4 OCPUs and 32GB RAM?Compare OCI block storage tiers for 1TB of dataEstimate monthly cost for a Kubernetes cluster with 3 nodesHow much would I save using OCI vs AWS for 5TB of monthly data egress?Quick Estimates
Give me a quick estimate for a small web app on OCIAvailable 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
OCI Pricing Highlights
Key Differentiators
Consistent Global Pricing: Unlike AWS/Azure/GCP, OCI prices are the same across all commercial regions
10 TB Free Egress: First 10 TB of outbound data transfer is free monthly
Free Kubernetes Control Plane: OKE Basic clusters have no management fee
Network Load Balancer: Completely free (no hourly or data charges)
Always Free Tier: Never expires - 4 Arm OCPUs, 24GB RAM, 200GB storage, 2 Autonomous DBs
Cost-Effective Shapes
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 |
OCPU vs vCPU
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.
Data Sources
This MCP server supports two data modes:
Bundled Data (Default)
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.
Products: 640+ SKUs (full API dataset)
Categories: 110+ service categories
Detailed compute shapes: curated shapes with OCPU/memory breakdowns
Timestamps:
apiLastUpdatedandbundledDataGeneratedfor verification (seeget_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.
Real-Time API
For the most current pricing between releases, use fetch_realtime_pricing which queries Oracle's API directly:
https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/Authentication: None required (public API)
Multi-currency: USD, EUR, GBP, JPY, AUD, CAD, and more
Updates: Oracle updates pricing data periodically
FAQ
Does OCI have a pricing API?
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.
Where does the pricing data come from?
Bundled data: Full dataset synced from Oracle's public pricing API and included in the npm package
Real-time data: Fetched directly from Oracle's public pricing API on-demand
How often is the bundled data updated?
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.
Why are prices the same across all regions?
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.
What's the difference between OCPU and vCPU?
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.
Can I query my actual OCI spend?
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.
What's NOT included in the pricing data?
The bundled data includes the full product set from Oracle's public pricing API. However, some pricing is not available through this API:
Committed use discounts - Only Pay-As-You-Go pricing is shown; annual/3-year commits require Oracle sales
Government/sovereign cloud - Dedicated government regions have separate pricing
Oracle SaaS products - Fusion Apps, NetSuite, etc. are separate from OCI IaaS
Custom/negotiated pricing - Enterprise agreements with volume discounts
Support costs - Premier Support pricing is separate
For these, contact Oracle Sales or check the Oracle Cloud Price List directly.
How do I verify the pricing is accurate?
Each bundled data release includes timestamps:
apiLastUpdated: When Oracle last updated their pricing APIbundledDataGenerated: When this package synced the data
You can verify prices against Oracle's official price list or use the fetch_realtime_pricing tool to get live data.
Development
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/index.js
# Watch mode
npm run devAuthor
Jason Wilbur - jasonwilbur.com
License
Apache 2.0
Contributing
Issues and pull requests welcome at GitHub.
Available Tools
45 toolscalculate_database_costCRead-onlyIdempotent
Calculate database cost for a specific configuration.
Inputs: type (required), computeUnits (required), storageGB (required), licenseType, +1 more.
calculate_kubernetes_costBRead-onlyIdempotent
Calculate OKE cluster cost including control plane and worker nodes.
Inputs: clusterType (required), nodeCount (required), nodeShape (required), nodeOcpus (required), +2 more.
calculate_monthly_costBRead-onlyIdempotent
Calculate estimated monthly cost for an OCI configuration with compute, storage, database, and networking.
Inputs: compute, storage, database, networking, +1 more.
calculate_multicloud_database_costARead-onlyIdempotent
Calculate estimated monthly cost for running Oracle database on Azure, AWS, or Google Cloud.
Inputs: provider (required), databaseType (required), computeUnits (required), storageGB (required), +1 more.
calculate_networking_costBRead-onlyIdempotent
Calculate networking cost for a specific configuration, including free tier credits.
Inputs: flexibleLoadBalancers, loadBalancerBandwidthMbps, networkLoadBalancers, outboundDataGB, +3 more.
calculate_storage_costCRead-onlyIdempotent
Calculate storage cost for a specific configuration.
Inputs: blockVolumeGB, blockPerformanceTier, objectStorageGB, objectStorageTier, +1 more.
compare_compute_shapesARead-onlyIdempotent
Compare pricing between multiple compute shapes.
Inputs: shapes (required).
compare_database_optionsBRead-onlyIdempotent
Compare database options for a specific workload type.
Inputs: workloadType (required).
compare_data_egressARead-onlyIdempotent
Compare OCI data egress pricing with AWS/Azure/GCP.
Inputs: monthlyGB (required).
compare_kubernetes_providersBRead-onlyIdempotent
Compare OKE pricing with AWS EKS, Azure AKS, and GCP GKE.
Inputs: nodeCount (required), nodeOcpus (required), nodeMemoryGB (required).
compare_multicloud_vs_ociBRead-onlyIdempotent
Compare costs of running Oracle database on OCI vs Azure/AWS/GCP. Shows price parity and billing differences.
Inputs: databaseType (required), computeUnits (required), storageGB (required).
compare_regionsARead-onlyIdempotent
Compare pricing for a resource across OCI regions. Note: OCI maintains consistent pricing across all commercial regions.
Inputs: service (required), type (required).
compare_storage_tiersARead-onlyIdempotent
Compare all storage tier pricing for a given size.
Inputs: sizeGB (required).
fetch_realtime_pricingARead-onlyIdempotent
Fetch real-time pricing from Oracle's public API. Returns 592 SKUs (562 standard + 30 BYOL) with PAY_AS_YOU_GO pricing. Automatically detects and flags BYOL (Bring Your Own License) variants. Includes summary statistics and API coverage notes. No authentication required.
Inputs: currency, category, search.
get_compute_shape_detailsARead-onlyIdempotent
Get detailed pricing and configuration options for a specific compute shape.
Inputs: shapeFamily (required).
get_free_tierARead-onlyIdempotent
Get details about OCI Always Free tier resources.
Inputs: no named parameters.
get_multicloud_availabilityARead-onlyIdempotent
Get the full availability matrix showing which Oracle database products are available on which cloud providers.
Inputs: no named parameters.
get_pricingCRead-onlyIdempotent
Get pricing for any OCI resource by service and type. Services: compute, storage, database, networking, kubernetes.
Inputs: service (required), type, region.
get_pricing_infoARead-onlyIdempotent
Get metadata about the pricing data (last updated, source, etc.).
Inputs: no named parameters.
get_services_summaryARead-onlyIdempotent
Get a summary of all OCI services with pricing data, including counts by category and coverage information.
Inputs: no named parameters.
list_additional_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="additional"] List additional OCI services including OpenSearch, Secure Desktops, Blockchain, TimesTen, Batch, Recovery Service, ZFS Storage, Lustre, and Digital Assistant.
Inputs: type.
list_aiml_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="aiml"] List OCI AI/ML services including Generative AI (Cohere, Meta Llama, xAI Grok), Vision, Speech, Language, and Document Understanding.
Inputs: type, model.
list_analytics_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="analytics"] List OCI Analytics services including Analytics Cloud, Big Data Service, Data Flow, and Data Science.
Inputs: type.
list_cache_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="cache"] List OCI Cache with Redis pricing. Shows managed Redis cache options with low and high memory tiers.
Inputs: no named parameters.
list_compute_shapesARead-onlyIdempotent
List all OCI compute shapes (VMs, bare metal, GPU) with OCPU and memory pricing.
Inputs: family, type, maxOcpuPrice.
list_database_optionsARead-onlyIdempotent
List all OCI database options (Autonomous, MySQL, PostgreSQL, NoSQL) with pricing.
Inputs: type, licenseType.
list_developer_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="developer"] List OCI Developer services including Functions, Container Instances, API Gateway, APEX, and DevOps.
Inputs: type.
list_disaster_recovery_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="disaster-recovery"] List OCI Full Stack Disaster Recovery pricing for automating DR across application stacks.
Inputs: no named parameters.
list_edge_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="edge"] List OCI Edge services including DNS, Email Delivery, and Health Checks.
Inputs: type.
list_exadata_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="exadata"] List Oracle Exadata Cloud pricing including Exascale, dedicated infrastructure, ECPUs, OCPUs, and storage.
Inputs: type.
list_governance_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="governance"] List OCI Governance services including Access Governance, Fleet Management, and License Manager.
Inputs: type.
list_integration_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="integration"] List OCI Integration services including Integration Cloud (OIC), GoldenGate, Data Integration, Streaming, and Queue.
Inputs: type.
list_kubernetes_optionsBRead-onlyIdempotent
List OKE (Kubernetes) cluster options and pricing. Basic clusters are FREE.
Inputs: clusterType.
list_media_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="media"] List OCI Media Services including Media Flow (transcoding) and Media Streams (live/VOD streaming).
Inputs: type.
list_multicloud_databasesARead-onlyIdempotent
List Oracle database services available on Azure, AWS, and Google Cloud (Database@Azure, Database@AWS, Database@Google Cloud).
Inputs: provider, databaseType.
list_networking_optionsARead-onlyIdempotent
List all OCI networking options (load balancers, FastConnect, VPN, egress) with pricing. Many networking services are FREE.
Inputs: type.
list_observability_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="observability"] List OCI Observability services including APM, Logging, Log Analytics, Monitoring, and Stack Monitoring.
Inputs: type.
list_realtime_categoriesARead-onlyIdempotent
List all service categories available from Oracle's real-time pricing API.
Inputs: no named parameters.
list_regionsARead-onlyIdempotent
List all available OCI regions with their locations.
Inputs: no named parameters.
list_security_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="security"] List OCI Security services including Data Safe, Cloud Guard, Vault, WAF, and Network Firewall.
Inputs: type.
list_servicesARead-onlyIdempotent
List all OCI services with pricing categories. Filter by category: compute, storage, database, networking, kubernetes, ai-ml, observability, etc.
Inputs: category.
list_services_by_categoryARead-onlyIdempotent
List OCI services in a given category (AI/ML, observability, integration, security, analytics, developer, media, VMware, edge, governance, Exadata, cache, disaster-recovery, additional). Preferred single entry point that replaces the individual list_*_services tools.
Inputs: category (required), type, model.
list_storage_optionsARead-onlyIdempotent
List all OCI storage options (block, object, file, archive) with pricing.
Inputs: type.
list_vmware_servicesARead-onlyIdempotent
[DEPRECATED: use list_services_by_category with category="vmware"] List Oracle Cloud VMware Solution (OCVS) pricing for running VMware workloads on OCI.
Inputs: no named parameters.
quick_estimateARead-onlyIdempotent
Get a quick cost estimate for common deployment presets: small-web-app, medium-api-server, large-database, ml-training, kubernetes-cluster.
Inputs: preset (required), region.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 45 tools
There is significant overlap between the many deprecated list_*_services tools and the newer list_services_by_category tool, which can confuse an agent. Additionally, tools like get_pricing and fetch_realtime_pricing serve similar purposes, though they target different data sources.
The naming pattern is mostly verb_noun in snake_case, which is consistent. However, there is a slight inconsistency between 'get_' and 'fetch_' prefixes (e.g., get_pricing vs fetch_realtime_pricing) and some tools use 'quick_estimate' instead of a more descriptive verb.
With 45 tools, the count is high for a pricing server. Many tools are deprecated and redundant, inflating the number. The core functionality could be achieved with fewer tools, making the set feel bloated and harder to navigate.
The tool set covers a wide range of OCI pricing aspects: compute, storage, database, networking, kubernetes, comparisons, and multi-cloud. The presence of list_services_by_category ensures broad service coverage. However, the deprecated tools are not removed, creating minor dead ends.
Maintenance
Related MCP Connectors
Look up, compare and track AI model API prices from an AI assistant. No sign-in needed.
Verified cloud cost forecasting for AI agents. AWS, GCP, Azure pricing matrix.
Verified cloud cost forecasting for AI agents. AWS, GCP, Azure pricing matrix.
Find AI model pricing, estimate token costs and compare offers. No API key required.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides AI assistants with real-time access to Azure retail pricing information, enabling price searches, regional cost comparisons, monthly bill estimates, and SKU discovery through natural language queries.1356MIT
- AlicenseAqualityAmaintenanceProvides real-time AI compute pricing and cost analysis across LLM providers, enabling session cost tracking, model price comparisons, and historical data queries.22198 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query Azure retail pricing, compare costs, estimate bills, and analyze reserved instances, with additional tools for spot VMs, orphaned resources, PTU sizing, Databricks DBU, and GitHub pricing.1MIT

OptimToken MCPofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to fetch live, dated prices for LLM models and cloud compute instances across providers, compare and recommend models, and estimate monthly costs based on workload-specific token shapes and constraints.MIT