Get the FREE Ultimate OpenClaw Setup Guide →

oci-pricing

OCI Pricing MCP Server - Model Context Protocol server for Oracle Cloud Infrastructure pricing information

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio jasonwilbur-oci-pricing-mcp node /path/to/oci-pricing-mcp/dist/index.js

How to use

This MCP server provides Oracle Cloud Infrastructure pricing data to AI assistants. It sources pricing from both Oracle's public pricing API and bundled data included with the package, offering a fast, offline-capable catalog and a real-time lookup option via the fetch_realtime_pricing tool. Core tools include get_pricing to fetch pricing for a specific OCI resource, list_services to enumerate available pricing categories, and list_regions to show OCI regions. Additional capabilities cover region comparisons, monthly cost estimates, and quick presets to rapidly assemble common configurations. Real-time pricing can be retrieved directly from Oracle's API for the most up-to-date values, while bundled data ensures fast responses even without network access. Use these tools through Claude or your preferred MCP client to answer pricing questions like “What is the cost of VM.Standard.E5.Flex with 4 OCPUs and 32GB RAM?” or “How much would data egress cost across OCI regions?”

How to install

Prerequisites:

  • Node.js and npm installed on your system
  • Git installed
  • Access to run the Claude MCP commands (claude mcp)

Option 1: Quick Install (Recommended)

claude mcp add oci-pricing -- npx oci-pricing-mcp

Option 2: 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.js

After installation, start using the MCP via Claude with the configured server name (oci-pricing).

Additional notes

Notes and tips:

  • This MCP supports two data modes: Bundled Data (default) for fast offline access and Real-Time API for the latest pricing. The bundled dataset is included in the npm package and updated with each npm release.
  • Real-time pricing fetches data from Oracle’s public API at https://apexapps.oracle.com/pls/apex/cetools/api/v1/products/ and requires no authentication.
  • No authentication is required for API calls in the bundled or real-time fetch paths, but consider network access and rate limits when using fetch_realtime_pricing.
  • Environment variables are generally not required for standard usage, but advanced deployments may expose configuration options (e.g., enabling or disabling real-time updates or selecting a default data mode).
  • If you encounter path issues, ensure the path in the mcp_config matches the built index.js location produced by your build (dist/index.js in the From Source example).

Related MCP Servers

Sponsor this space

Reach thousands of developers