MCP server exposing the OptimNow Cloud FinOps skill (28 references) as queryable tools.
Project description
cloud-finops-mcp
MCP server exposing the OptimNow Cloud FinOps skill (28 reference files + 23 named-pattern playbooks) as queryable tools for any MCP-aware client (Claude Code, Cursor, Codex CLI, Windsurf, Aider, Cline, etc.).
The skill itself ships in canonical Claude Agent-Skills format and is also installable
via the cross-tool installer (./install.sh) for direct context injection. This MCP
server is the enrichment path: instead of loading the full skill into the
prompt, the agent calls tools to discover, filter, and fetch only what it needs.
What the server exposes
Six tools, all read-only, split across two surfaces.
References — long-form provider and discipline files (~300-500 lines each):
| Tool | Purpose |
|---|---|
list_references() |
List all 28 references with their FCP metadata. |
get_reference(name) |
Fetch the full markdown body of one reference. |
find_references(domain?, capability?, phase?, persona?, maturity?) |
Faceted query over the FinOps Capability/Phase frontmatter. |
The reference faceted query supports any combination of:
domain- FinOps Framework domain (e.g.Optimize Usage & Cost,Quantify Business Value)capability- FinOps capability (matches both primary and secondary)phase-Inform,Optimize,Operatepersona- matches both primary and collaborating personasmaturity-Crawl,Walk,Run
Playbooks — small named-pattern runbooks (~80-130 lines each):
| Tool | Purpose |
|---|---|
list_playbooks() |
List all 15 named-pattern playbooks with their metadata. |
get_playbook(name) |
Fetch the full markdown body of one playbook. |
find_playbooks(scope?, service?, waste_category?, confidence?) |
Faceted query over the playbook frontmatter. |
The playbook faceted query supports:
scope-aws,azure,gcp, orcross-cloudservice- provider service (e.g.AWS NAT Gateway); exact-matchwaste_category-orphaned,idle,overprovisioned,commitment-mismatch,schedule-blindness,modernization,ai-ml-inefficiency,egressconfidence-obvious,likely,possible(OptimNow three-tier model)
All filters across both surfaces AND together. String matches are case-insensitive and exact (no substring matching).
When to use which surface:
- A playbook answers "how do I detect/fix this specific pattern?" (zombie NAT, snapshot sprawl, idle ELB). It includes problem statement, symptoms, a detection query (CUR / KQL / BigQuery SQL / CLI), fix steps, and the anti-pattern.
- A reference answers anything broader: billing mechanics, commitment strategy, allocation methodology, persona-specific framings, or cross-pattern reasoning.
Install
pip install cloud-finops-mcp
Or run without installing via uv:
uvx cloud-finops-mcp
Configure your MCP client
After install, point your client at the cloud-finops-mcp console script.
Claude Code
Project-level (.mcp.json at the repo root) or user-level (~/.claude/mcp.json):
{
"mcpServers": {
"cloud-finops": {
"command": "cloud-finops-mcp"
}
}
}
Restart Claude Code, then run /mcp to confirm the server is connected.
Cursor
~/.cursor/mcp.json:
{
"mcpServers": {
"cloud-finops": {
"command": "cloud-finops-mcp"
}
}
}
Codex CLI
~/.codex/config.toml:
[mcp_servers.cloud-finops]
command = "cloud-finops-mcp"
Windsurf
~/.windsurf/mcp.json:
{
"mcpServers": {
"cloud-finops": {
"command": "cloud-finops-mcp"
}
}
}
Any other MCP client
The server speaks MCP over stdio. Point any compatible client at cloud-finops-mcp
(or python -m cloud_finops_mcp).
Example tool calls
Agent prompt: "Use the cloud-finops MCP to find references for the Optimize phase aimed at Engineering."
Calls find_references(phase="Optimize", persona="Engineering") and gets back the
filtered subset (AWS, Azure, GCP, Bedrock, Databricks, etc.) without loading the full
skill into the prompt.
Agent prompt: "Pull the AWS reference."
Calls get_reference(name="finops-aws") and gets back the full markdown body
(~300 lines) instead of the entire 28-file knowledge base.
Agent prompt: "Show me the obvious-confidence AWS waste playbooks."
Calls find_playbooks(scope="aws", confidence="obvious") and gets back the list
of high-signal AWS patterns (zombie NAT gateway, orphaned EBS volumes, etc.).
Agent prompt: "Walk me through the zombie NAT gateway pattern."
Calls get_playbook(name="aws-zombie-nat-gateway") and gets back the ~90-line
runbook (problem, symptoms, detection query, fix, anti-pattern, see-also).
When to use this vs the installer
| If you... | Use |
|---|---|
| Want the skill loaded as static context for every chat | The cross-tool installer (./install.sh) |
| Have a big-codebase session with limited context budget | The MCP server (fetch on demand) |
| Want to filter references by FinOps domain/capability/phase/persona/maturity | The MCP server (find_references) |
| Use a client that doesn't support MCP | The cross-tool installer |
The two paths are complementary. You can install both.
Development
git clone https://github.com/OptimNow/cloud-finops-skills.git
cd cloud-finops-skills/mcp_server
python scripts/sync_references.py # populate src/cloud_finops_mcp/data/
pip install -e ".[dev]"
pytest
Versioning
The PyPI package version tracks the skill release tag. Tagging v1.13 on the
parent repo triggers both the skill release zip and a new cloud-finops-mcp PyPI
publish so the bundled references match what the rest of the repo ships.
License
CC BY-SA 4.0 - same as the parent skill. Credit OptimNow.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloud_finops_mcp-1.22.1.tar.gz.
File metadata
- Download URL: cloud_finops_mcp-1.22.1.tar.gz
- Upload date:
- Size: 335.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ec148ec0d7fb9f8b32815dd49db52f4b3dfbf8ab2f9ebabd0123591d0d3cd6
|
|
| MD5 |
8449cc11297c3c9fad9b523162373683
|
|
| BLAKE2b-256 |
434905a29afc24f56a05a4476f50d9825de7b3ba5693a02845406130a2e919ab
|
Provenance
The following attestation bundles were made for cloud_finops_mcp-1.22.1.tar.gz:
Publisher:
publish-mcp.yml on OptimNow/cloud-finops-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloud_finops_mcp-1.22.1.tar.gz -
Subject digest:
29ec148ec0d7fb9f8b32815dd49db52f4b3dfbf8ab2f9ebabd0123591d0d3cd6 - Sigstore transparency entry: 1547486056
- Sigstore integration time:
-
Permalink:
OptimNow/cloud-finops-skills@54361822c54dec687f6d544ed2c7c31a61e84938 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/OptimNow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@54361822c54dec687f6d544ed2c7c31a61e84938 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cloud_finops_mcp-1.22.1-py3-none-any.whl.
File metadata
- Download URL: cloud_finops_mcp-1.22.1-py3-none-any.whl
- Upload date:
- Size: 383.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d93a96cff118d39694e35d4b42a3791eccc3b0963cd5f43d41ba3e9c031548d6
|
|
| MD5 |
7a1de9aacfe24cfe551014d9a10db339
|
|
| BLAKE2b-256 |
c23f41176581541f28057092c9318bb539250720085293494e5fef36ad1fd30c
|
Provenance
The following attestation bundles were made for cloud_finops_mcp-1.22.1-py3-none-any.whl:
Publisher:
publish-mcp.yml on OptimNow/cloud-finops-skills
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloud_finops_mcp-1.22.1-py3-none-any.whl -
Subject digest:
d93a96cff118d39694e35d4b42a3791eccc3b0963cd5f43d41ba3e9c031548d6 - Sigstore transparency entry: 1547486134
- Sigstore integration time:
-
Permalink:
OptimNow/cloud-finops-skills@54361822c54dec687f6d544ed2c7c31a61e84938 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/OptimNow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@54361822c54dec687f6d544ed2c7c31a61e84938 -
Trigger Event:
workflow_dispatch
-
Statement type: