
OCI Pricing
io.github.jasonwilbur由 GitHub 账号 jasonwilbur 发布v1.2.2更新于 Nov 3, 2026
Oracle Cloud Infrastructure pricing data with cost calculators and comparisons
概览
提供 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 的网络连接,内置数据可离线使用。
安装
在 SourceWeft 中
- 打开 控制台中的 OCI Pricing,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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.
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):
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):
Installation
Quick Install (Recommended)
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:
From Source
Available Tools
Core Tools
Compute Tools
Storage Tools
Database Tools
Networking Tools
Kubernetes Tools
Service Category Tools
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
Real-Time Pricing Tools
Usage Examples
Ask Claude about OCI pricing
Quick Estimates
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
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
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:
- 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
Author
Jason Wilbur - jasonwilbur.com
License
Apache 2.0
Contributing
Issues and pull requests welcome at GitHub.
来源:README.md,提交 ebd56c6
工具
0版本历史
1- v1.2.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分