A Model Context Protocol (MCP) server that provides Oracle Cloud Infrastructure pricing data to AI assistants like Claude. AWS, Azure, and GCP all have pricing MCP servers. OCI did not - until now. You ask Claude: Claude responds (using this MCP): You ask Claude: Claude responds (using this MCP): Available presets: - small-web-app - 1 OCPU, 8GB, 100GB storage, LB - medium-api-server - 4 OCPU, 32GB
Add this skill
npx mdskills install jasonwilbur/oci-pricing-mcpComprehensive MCP server providing 600+ OCI pricing data points with bundled data and live API access
1# OCI Pricing MCP Server23A [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that provides Oracle Cloud Infrastructure pricing data to AI assistants like Claude.45> **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](https://www.oracle.com/cloud/price-list/) before making decisions. All API calls are free of charge (no authentication required).67## Why This Exists89AWS, Azure, and GCP all have pricing MCP servers. OCI did not - until now.1011| Provider | Pricing MCP | Type |12|----------|-------------|------|13| AWS | [aws-pricing-mcp-server](https://awslabs.github.io/mcp/servers/aws-pricing-mcp-server) | Official |14| Azure | [azure-pricing-mcp](https://github.com/charris-msft/azure-pricing-mcp) | Community |15| GCP | [gcp-cost-mcp-server](https://github.com/nozomi-koborinai/gcp-cost-mcp-server) | Community |16| OCI | **oci-pricing-mcp** | Community |1718### Example: "How much does a 4 OCPU, 32GB VM cost on OCI?"1920**You ask Claude:**21> What's the monthly cost for a VM with 4 OCPUs and 32GB RAM on OCI?2223**Claude responds (using this MCP):**24```25For a VM.Standard.E5.Flex with 4 OCPUs and 32GB RAM:2627 OCPU cost: 4 OCPUs × $0.03/hr = $0.12/hr28 Memory cost: 32 GB × $0.002/hr = $0.064/hr29 Total hourly: $0.184/hr3031 Monthly cost (730 hrs): $134.323233For comparison, the Arm-based A1 shape would be significantly cheaper:3435 A1 total: 4 × $0.01 + 32 × $0.0015 = $0.088/hr36 Monthly: $64.24 (52% savings)37```3839### Example: "Compare OCI vs AWS for data egress"4041**You ask Claude:**42> How much would I save on OCI vs AWS for 5TB of monthly data egress?4344**Claude responds (using this MCP):**45```46Data Egress Cost Comparison (5 TB/month):4748 OCI:49 First 10 TB free → $0.005051 AWS:52 First 10 GB: free53 Next 9.99 TB @ $0.09/GB → ~$450/month5455 Monthly savings with OCI: $450 (100% savings)5657OCI includes 10 TB of free outbound data transfer monthly,58making it significantly more cost-effective for data-heavy workloads.59```6061## Installation6263### Quick Install (Recommended)6465```bash66claude mcp add oci-pricing -- npx oci-pricing-mcp67```6869### From Source7071```bash72git clone https://github.com/jasonwilbur/oci-pricing-mcp.git73cd oci-pricing-mcp74npm install75npm run build76claude mcp add oci-pricing -- node /path/to/oci-pricing-mcp/dist/index.js77```7879## Available Tools8081### Core Tools8283| Tool | Description |84|------|-------------|85| `get_pricing` | Get pricing for any OCI resource by service/type |86| `list_services` | List all OCI services with pricing categories |87| `compare_regions` | Compare pricing across regions (OCI has consistent global pricing) |88| `list_regions` | List all available OCI regions |89| `calculate_monthly_cost` | Estimate monthly spend for a configuration |90| `quick_estimate` | Get cost estimates for common deployment presets |9192### Compute Tools9394| Tool | Description |95|------|-------------|96| `list_compute_shapes` | List VM shapes (E4, E5, A1, GPU, etc.) with pricing |97| `get_compute_shape_details` | Get detailed info for a specific shape |98| `compare_compute_shapes` | Compare pricing between shapes |99100### Storage Tools101102| Tool | Description |103|------|-------------|104| `list_storage_options` | Block, object, file, archive storage pricing |105| `calculate_storage_cost` | Calculate cost for specific storage config |106| `compare_storage_tiers` | Compare all tiers for a given size |107108### Database Tools109110| Tool | Description |111|------|-------------|112| `list_database_options` | Autonomous DB, MySQL, PostgreSQL pricing |113| `calculate_database_cost` | Calculate database cost |114| `compare_database_options` | Compare options for workload type |115116### Networking Tools117118| Tool | Description |119|------|-------------|120| `list_networking_options` | Load balancers, FastConnect, VPN, egress |121| `calculate_networking_cost` | Calculate networking cost with free tier |122| `compare_data_egress` | Compare OCI egress vs AWS/Azure/GCP |123124### Kubernetes Tools125126| Tool | Description |127|------|-------------|128| `list_kubernetes_options` | OKE cluster options (Basic is FREE) |129| `calculate_kubernetes_cost` | Calculate cluster cost |130| `compare_kubernetes_providers` | Compare OKE vs EKS/AKS/GKE |131132### Utility Tools133134| Tool | Description |135|------|-------------|136| `get_free_tier` | OCI Always Free tier details |137| `get_pricing_info` | Pricing data metadata |138139### Real-Time Pricing Tools140141| Tool | Description |142|------|-------------|143| `fetch_realtime_pricing` | Fetch live pricing from Oracle's API (600+ products) |144| `list_realtime_categories` | List all 109 service categories from the API |145146## Usage Examples147148### Ask Claude about OCI pricing149150```151What's the cost of running a VM.Standard.E5.Flex with 4 OCPUs and 32GB RAM?152```153154```155Compare OCI block storage tiers for 1TB of data156```157158```159Estimate monthly cost for a Kubernetes cluster with 3 nodes160```161162```163How much would I save using OCI vs AWS for 5TB of monthly data egress?164```165166### Quick Estimates167168```169Give me a quick estimate for a small web app on OCI170```171172Available presets:173- `small-web-app` - 1 OCPU, 8GB, 100GB storage, LB174- `medium-api-server` - 4 OCPU, 32GB, 500GB storage175- `large-database` - 8 OCPU, 128GB, Autonomous DB176- `ml-training` - 8x A100 GPUs (part-time)177- `kubernetes-cluster` - 3 nodes, 4 OCPU each178179## OCI Pricing Highlights180181### Key Differentiators182183- **Consistent Global Pricing**: Unlike AWS/Azure/GCP, OCI prices are the same across all commercial regions184- **10 TB Free Egress**: First 10 TB of outbound data transfer is free monthly185- **Free Kubernetes Control Plane**: OKE Basic clusters have no management fee186- **Network Load Balancer**: Completely free (no hourly or data charges)187- **Always Free Tier**: Never expires - 4 Arm OCPUs, 24GB RAM, 200GB storage, 2 Autonomous DBs188189### Cost-Effective Shapes190191| Shape | OCPU Price | Best For |192|-------|------------|----------|193| VM.Standard.A1.Flex (Arm) | $0.01/hr | Best value, Arm workloads |194| VM.Standard.E5.Flex | $0.03/hr | New x86 deployments |195| VM.Standard.E4.Flex | $0.025/hr | Previous gen, still good |196197### OCPU vs vCPU1981991 OCPU = 2 vCPUs for x86 architectures. OCPUs represent physical cores, so OCI's $0.03/OCPU/hr is equivalent to $0.015/vCPU/hr.200201## Data Sources202203This MCP server supports two data modes:204205### Bundled Data (Default)206207Pricing 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.208209- **Products**: 602 SKUs (full API dataset)210- **Categories**: 109 service categories211- **Detailed compute shapes**: 15 curated shapes with OCPU/memory breakdowns212- **Timestamps**: `apiLastUpdated` and `bundledDataGenerated` for verification213214### Real-Time API215216For the most current pricing between releases, use `fetch_realtime_pricing` which queries Oracle's API directly:217218```219https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/220```221222- **Authentication**: None required (public API)223- **Multi-currency**: USD, EUR, GBP, JPY, AUD, CAD, and more224- **Updates**: Oracle updates pricing data periodically225226## FAQ227228### Does OCI have a pricing API?229230Yes! 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.231232### Where does the pricing data come from?233234- **Bundled data**: Full dataset synced from Oracle's public pricing API and included in the npm package235- **Real-time data**: Fetched directly from Oracle's public pricing API on-demand236237### How often is the bundled data updated?238239The 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.240241### Why are prices the same across all regions?242243Unlike 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.244245### What's the difference between OCPU and vCPU?2462471 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.248249### Can I query my actual OCI spend?250251This 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.252253### What's NOT included in the pricing data?254255The bundled data includes all 602 products from Oracle's public pricing API. However, some pricing is not available through this API:256257- **Committed use discounts** - Only Pay-As-You-Go pricing is shown; annual/3-year commits require Oracle sales258- **Government/sovereign cloud** - Dedicated government regions have separate pricing259- **Oracle SaaS products** - Fusion Apps, NetSuite, etc. are separate from OCI IaaS260- **Custom/negotiated pricing** - Enterprise agreements with volume discounts261- **Support costs** - Premier Support pricing is separate262263For these, contact [Oracle Sales](https://www.oracle.com/cloud/contact/) or check the [Oracle Cloud Price List](https://www.oracle.com/cloud/price-list/) directly.264265### How do I verify the pricing is accurate?266267Each bundled data release includes timestamps:268- `apiLastUpdated`: When Oracle last updated their pricing API269- `bundledDataGenerated`: When this package synced the data270271You can verify prices against [Oracle's official price list](https://www.oracle.com/cloud/price-list/) or use the `fetch_realtime_pricing` tool to get live data.272273## Development274275```bash276# Install dependencies277npm install278279# Build280npm run build281282# Run locally283node dist/index.js284285# Watch mode286npm run dev287```288289## Author290291**Jason Wilbur** - [jasonwilbur.com](https://jasonwilbur.com)292293## License294295Apache 2.0296297## Contributing298299Issues and pull requests welcome at [GitHub](https://github.com/jasonwilbur/oci-pricing-mcp).300
Full transparency — inspect the skill content before installing.