Opencloudcosts MCP Server
by x7evenio.github.x7even/cloudcostsmcpv1.0.2
Live AWS, GCP and Azure prices for FinOps: public list prices and enterprise negotiated rates (Reserved Instances, Savings Plans, CUDs, EDPs).
context tax
queued
security
queued
cold start
queued
freshness
Slowing3mo ago
Install Opencloudcosts MCP server
Install in Claude Code
claude mcp add opencloudcosts -e OCC_GCP_API_KEY='<occ-gcp-api-key>' -e AWS_ACCESS_KEY_ID='<aws-access-key-id>' -e AWS_SECRET_ACCESS_KEY='<aws-secret-access-key>' -- uvx opencloudcostsInstall in Cursor
{
"mcpServers": {
"opencloudcosts": {
"command": "uvx",
"args": [
"opencloudcosts"
],
"env": {
"OCC_GCP_API_KEY": "<occ-gcp-api-key>",
"AWS_ACCESS_KEY_ID": "<aws-access-key-id>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"opencloudcosts": {
"command": "uvx",
"args": [
"opencloudcosts"
],
"env": {
"OCC_GCP_API_KEY": "<occ-gcp-api-key>",
"AWS_ACCESS_KEY_ID": "<aws-access-key-id>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"opencloudcosts": {
"type": "stdio",
"command": "uvx",
"args": [
"opencloudcosts"
],
"env": {
"OCC_GCP_API_KEY": "<occ-gcp-api-key>",
"AWS_ACCESS_KEY_ID": "<aws-access-key-id>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"opencloudcosts": {
"command": "uvx",
"args": [
"opencloudcosts"
],
"env": {
"OCC_GCP_API_KEY": "<occ-gcp-api-key>",
"AWS_ACCESS_KEY_ID": "<aws-access-key-id>",
"AWS_SECRET_ACCESS_KEY": "<aws-secret-access-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| OCC_GCP_API_KEY | — | yes | GCP free API key — required for GCP pricing, no billing account needed. |
| OCC_AWS_ENABLE_COST_EXPLORER | — | — | Set to true to enable effective/discounted AWS pricing via Cost Explorer ($0.01/call). |
| AWS_ACCESS_KEY_ID | — | yes | AWS credentials — only needed for effective pricing (RI/Savings Plans). Public pricing works without credentials. |
| AWS_SECRET_ACCESS_KEY | — | yes | AWS secret key — paired with AWS_ACCESS_KEY_ID for effective pricing. |
| OCC_GCP_BILLING_ACCOUNT_ID | — | — | GCP billing account ID — enables effective/contract pricing via Cloud Billing API. |
Freshness
Slowing — last maintenance signal 3mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-07-09 · 3mo ago · GitHub
Latest release
2026-07-09 · 3mo ago · GitHub · v1.3.1
Package published
no data · npm/PyPI
Registry entry updated
2026-06-28 · 3mo ago · official registry · v1.0.2
FAQ
›How do I install the Opencloudcosts MCP server in Claude Code?
Run: claude mcp add opencloudcosts -e OCC_GCP_API_KEY='<occ-gcp-api-key>' -e AWS_ACCESS_KEY_ID='<aws-access-key-id>' -e AWS_SECRET_ACCESS_KEY='<aws-secret-access-key>' -- uvx opencloudcosts. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Opencloudcosts require an API key?
Yes. It expects OCC_GCP_API_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, of which 3 are secrets.
›Can I use Opencloudcosts as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Opencloudcosts in the official MCP registry?
Yes, as io.github.x7even/cloudcostsmcp.
Alternatives to Opencloudcosts
Other cloud platforms MCP servers.