Query Cloud Costs with AI: A Guide to Vantage MCP Server Integration
Harness the power of AI to understand your Vantage cloud costs! This guide explores the Vantage MCP Server, empowering you to analyze cloud spend with natural language using tools like Claude, Cursor, and Goose. Query cost reports, filter by tags, and identify anomalies—all through intuitive conversational interfaces.
What is the Vantage MCP Server?
The Vantage MCP Server bridges Vantage's powerful cost data with AI assistants. This open-source tool, built with Golang, lets you ask questions about your cloud costs in plain language. Analyze spending, explore tagging strategies, and understand provider integrations with ease thanks to the Vantage MCP Server.
- Open-source: Fully customizable and transparent.
- Natural language queries: Simplifies complex cost analysis.
- AI-powered insights: Leverages AI assistants for deeper understanding.
Key Tools Available
The Vantage MCP Server exposes several tools to provide detailed insights into your cloud spending. Each tool can be invoked by compatible MCP clients:
get-costs
: Filter cloud costs by specific dates and Vantage Query Language (VQL).list-cost-reports
: See all available cost reports to see spending.list-cost-integrations
: List all cost provider integrations like AWS, Azure, and GCP.list-tags
: Identify available tags for filtering cost reports.list-tag-values
: Discover the values associated with specific tags.list-anomalies
: Find anomalies and outliers in your cost reports.list-cost-providers
: List cloud providers available within VQL queries.
Getting Started with Vantage MCP Server
Ready to start querying your cloud costs with AI? Here's a quick start guide to get the MCP server running:
Prerequisites
Before installing, ensure you have the following:
- Go: Properly installed and configured.
- Node.js: Also needs to be installed and configured correctly.
- Vantage API Token: Create a read-only API token from your Vantage account.
Installation Methods
Choose your preferred installation method:
-
Homebrew:
-
From Source:
Debugging
Use the MCP inspector to debug your setup:
Replace <token>
with your actual Vantage API token.
Integrating with MCP Clients
Integrate the Vantage MCP Server with your preferred client:
Claude for Desktop
- Download and install Claude for Desktop.
- Open Claude's settings (
Claude > Settings
). - Go to
Developer > Edit Config
. - Edit the
claude_desktop_config.json
configuration file. Replace placeholders with the correct values, including the path to the compiled Vantage MCP Server binary and your Vantage API token:
- Save the configuration file and restart Claude.
Cursor
- Download and install Cursor.
- Open Cursor's settings (
Cursor > Settings > Cursor Settings
). - Navigate to
MCP
. - Click
Add new global MCP Server
. - Update the
mcp.json
file with the correct path and API token:
Goose
- Download and install Goose.
- Open Goose's settings (
Goose > Settings
). - Under
Extensions
, clickAdd custom extension
. - Fill in the fields:
ID
:vantage-mcp-server
Name
:Vantage
Description
:Query costs and usage data
Command
: Path to the Vantage MCP Server binary
- Add an environment variable:
Name
:VANTAGE_BEARER_TOKEN
Value
: Your Vantage API token
With these simple steps, you can now easily manage and automate your cloud infrastructure spendings.