- Home
- MCP servers
- OCI Pricing
OCI Pricing
- javascript
0
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"jasonwilbur-oci-pricing-mcp": {
"command": "npx",
"args": [
"oci-pricing-mcp"
]
}
}
}You can access OCI pricing data through a Model Context Protocol (MCP) server that combines Oracle Cloud Infrastructure pricing from Oracle’s public API with bundled data for fast, offline access. This MCP helps you answer pricing questions, compare regions, and estimate costs for OCI resources using a consistent data source that is easy to query from Claude.
How to use
You will connect to the OCI Pricing MCP Server using your MCP client to query pricing data, run cost estimations, and compare options for OCI services. Utilize the available tools to fetch current pricing, list services and regions, compare compute shapes, and estimate monthly costs for configurations. Since prices can vary by data source and region, verify critical figures against Oracle’s official price list before making purchasing decisions.
Typical tasks you can perform include getting pricing for a specific OCI resource, listing all pricing categories, comparing regions, calculating storage or networking costs, and generating quick estimates for common deployment presets. You can also fetch real-time pricing that queries Oracle’s public API for up-to-date data.
How to install
Prerequisites: you need Node.js and npm installed on your machine, or use a compatible runtime that can execute JavaScript code. You will add the MCP to your Claude instance using either a quick install command or by running from source.
# Quick install (recommended)
claude mcp add oci-pricing -- npx oci-pricing-mcp
# From source
git clone https://github.com/jasonwilbur/oci-pricing-mcp.git
cd oci-pricing-mcp
npm install
npm run build
# Start using the local build with Claude
claude mcp add oci-pricing -- node /path/to/oci-pricing-mcp/dist/index.js
Data sources and usage notes
This MCP server supports two data modes: bundled data (default) and real-time pricing data from Oracle. Bundled data provides fast offline access and includes a large catalog, timestamps for verification, and 109 service categories. Real-time pricing can be fetched on-demand using the fetch_realtime_pricing tool.
Key notes include: prices shown are sourced from Oracle’s public pricing API. Do not rely on this MCP as the sole basis for purchasing decisions; always cross-check with Oracle’s official price list. The bundled dataset is updated with each npm release, and you can verify freshness via the bundledDataGenerated timestamp.
FAQ
Where does the pricing data come from? Bundled data is the full dataset included in the package, while real-time data is fetched from Oracle’s public API as you query.
How often is the bundled data updated? It is synced with Oracle’s API with each npm release. Check the bundledDataGenerated timestamp for the last sync.
What about price consistency across regions? OCI maintains consistent global pricing across commercial regions, simplifying planning.
Development
Development and debugging tips: install dependencies, build, run locally, and optionally enable watch mode for live updates during development.
# Install dependencies
npm install
# Build
npm run build
# Run locally
node dist/index.js
# Watch mode (develop with auto-reloads)
npm run dev
Available tools
Get pricing for any OCI resource by service or type.
List all OCI services with pricing categories.
Compare pricing across OCI regions (pricing is consistent).
List all available OCI regions.
Estimate monthly spend for a given configuration.
Provide quick cost estimates for common deployment presets.
List VM shapes with pricing information.
Get detailed information for a specific compute shape.
Compare pricing between compute shapes.
Show available storage pricing options (block/object/archive).
Calculate cost for a specific storage configuration.
Compare storage tiers for a given size.
List database options like Autonomous DB, MySQL, PostgreSQL pricing.
Calculate database costs for workload configurations.
Compare database options for workload types.
List networking options like load balancers, VPN, egress options.
Calculate networking cost including free tier considerations.
Compare OCI data egress costs against other providers.
List OKE cluster options including FREE basic control plane.
Calculate Kubernetes cluster costs.
Compare OKE with EKS/AKS/GKE options.
Provide Always Free tier details.
Provide pricing data metadata and sources.
Fetch live pricing from Oracle's API (600+ products).
List all service categories from the real-time API.