OCI Pricing

io.github.jasonwilbur由 GitHub 帳號 jasonwilbur 發布v1.2.2更新於 Nov 3, 2026

Oracle Cloud Infrastructure pricing data with cost calculators and comparisons

已驗證STDIO僅桌面雲端與基礎設施金融

概覽

AI 產生的概覽

提供 Oracle 雲端基礎架構(OCI)價格資料,讓助理查詢價格、估算每月成本並與其他雲端業者比較。

可以做什麼
  • 查詢 OCI 服務、區域與資源價格,並可從 Oracle 公開價格 API 即時取得資料
  • 依組態或預設方案估算每月費用,並查看 Always Free 免費額度細節
  • 列出並比較運算執行個體規格、儲存層級、資料庫選項、網路與對外流量、OKE Kubernetes 選項
  • 針對對外流量、Kubernetes 等工作負載,將 OCI 成本與 AWS、Azure、GCP 比較
適用情境
在規劃或編列 Oracle 雲端部署預算時使用,讓助理為虛擬機規格、儲存、資料庫、網路或 Kubernetes 叢集估價,或比較 OCI 與 AWS、Azure、GCP 的成本。
執行需求
以 npm 套件(oci-pricing-mcp)透過 npx 或 Node.js 在本機執行;不需要驗證、API 金鑰或環境變數。選用的即時價格工具需要連線至 Oracle 公開價格 API,內建資料可離線使用。
安裝前請注意
價格來自 Oracle 公開 API 與內建快照,屬於估算值;README 提醒助理可能誤判價格或漏掉最便宜的選項,決策前請對照 Oracle 官方價目表確認。內建資料定期更新,可能落後於即時價格。它只提供牌價,不反映帳戶實際支出,也不含承諾用量折扣、政府雲、SaaS、議價與支援費用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 OCI Pricing,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

OCI Pricing MCP Server

[npm version] [npm downloads] [CI] [License: Apache-2.0] [MCP Registry]

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.

ProviderPricing MCPType
AWSaws-pricing-mcp-serverOfficial
Azureazure-pricing-mcpCommunity
GCPgcp-cost-mcp-serverCommunity
OCIoci-pricing-mcpCommunity

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.

Installation

Quick Install (Recommended)

bash
claude mcp add oci-pricing -- npx -y oci-pricing-mcp

For 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:

json
{  "mcpServers": {    "oci-pricing": {      "command": "npx",      "args": ["-y", "oci-pricing-mcp"]    }  }}

From Source

bash
git clone https://github.com/jasonwilbur/oci-pricing-mcp.gitcd oci-pricing-mcpnpm installnpm run buildclaude mcp add oci-pricing -- node /path/to/oci-pricing-mcp/dist/index.js

Available Tools

Core Tools

ToolDescription
get_pricingGet pricing for any OCI resource by service/type
list_servicesList all OCI services with pricing categories
compare_regionsCompare pricing across regions (OCI has consistent global pricing)
list_regionsList all available OCI regions
calculate_monthly_costEstimate monthly spend for a configuration
quick_estimateGet cost estimates for common deployment presets

Compute Tools

ToolDescription
list_compute_shapesList VM shapes (E4, E5, A1, GPU, etc.) with pricing
get_compute_shape_detailsGet detailed info for a specific shape
compare_compute_shapesCompare pricing between shapes

Storage Tools

ToolDescription
list_storage_optionsBlock, object, file, archive storage pricing
calculate_storage_costCalculate cost for specific storage config
compare_storage_tiersCompare all tiers for a given size

Database Tools

ToolDescription
list_database_optionsAutonomous DB, MySQL, PostgreSQL pricing
calculate_database_costCalculate database cost
compare_database_optionsCompare options for workload type

Networking Tools

ToolDescription
list_networking_optionsLoad balancers, FastConnect, VPN, egress
calculate_networking_costCalculate networking cost with free tier
compare_data_egressCompare OCI egress vs AWS/Azure/GCP

Kubernetes Tools

ToolDescription
list_kubernetes_optionsOKE cluster options (Basic is FREE)
calculate_kubernetes_costCalculate cluster cost
compare_kubernetes_providersCompare OKE vs EKS/AKS/GKE

Service Category Tools

ToolDescription
list_services_by_categoryPreferred. List services in any category: aiml, observability, integration, security, analytics, developer, media, vmware, edge, governance, exadata, cache, disaster-recovery, additional
get_services_summarySummary of all service categories with counts

The individual list_*_services tools (e.g. list_aiml_services, list_security_services) still work but are deprecated in favor of list_services_by_category — prefer passing a category to the one tool above.

Utility Tools

ToolDescription
get_free_tierOCI Always Free tier details
get_pricing_infoPricing data metadata

Real-Time Pricing Tools

ToolDescription
fetch_realtime_pricingFetch live pricing directly from Oracle's API (full product catalog)
list_realtime_categoriesList 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 data
Estimate monthly cost for a Kubernetes cluster with 3 nodes
How 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 OCI

Available presets:

  • small-web-app - 1 OCPU, 8GB, 100GB storage, LB
  • medium-api-server - 4 OCPU, 32GB, 500GB storage
  • large-database - 8 OCPU, 128GB, Autonomous DB
  • ml-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

ShapeOCPU PriceBest For
VM.Standard.A1.Flex (Arm)$0.01/hrBest value, Arm workloads
VM.Standard.E5.Flex$0.03/hrNew x86 deployments
VM.Standard.E4.Flex$0.025/hrPrevious 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: 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.

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 API
  • bundledDataGenerated: 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

bash
# Install dependenciesnpm install
# Buildnpm run build
# Run locallynode dist/index.js
# Watch modenpm run dev

Author

Jason Wilbur - jasonwilbur.com

License

Apache 2.0

Contributing

Issues and pull requests welcome at GitHub.

來源:README.md,提交 ebd56c6

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.2.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分