Cost Management MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CACHE_TTL | No | Cache time-to-live in seconds | 3600 |
| LOG_LEVEL | No | Log verbosity (debug/info/warn/error) | info |
| REDIS_URL | No | Redis connection URL (Required if CACHE_TYPE is redis) | |
| AWS_REGION | No | AWS region (Required for AWS cost tracking). Cost Explorer only works in us-east-1. | us-east-1 |
| CACHE_TYPE | No | Cache backend (memory/redis) | memory |
| OPENAI_API_KEY | No | OpenAI API key (Required for OpenAI cost tracking) | |
| MCP_SERVER_PORT | No | Server port | 3000 |
| ANTHROPIC_API_KEY | No | Anthropic Admin API key (starts with sk-ant-admin...) (Required for Anthropic cost tracking) | |
| AWS_ACCESS_KEY_ID | No | AWS access key (Required for AWS cost tracking) | |
| AWS_SECRET_ACCESS_KEY | No | AWS secret key (Required for AWS cost tracking) | |
| GCP_BILLING_ACCOUNT_ID | No | Your GCP billing account ID | |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to your GCP service account JSON file |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| cost_getC | Get cost data for a specific provider and time period |
| provider_listB | List all configured providers and their status |
| provider_balanceB | Check remaining balance or credits for a provider |
| openai_costsB | Get detailed OpenAI costs with model breakdown and token usage |
| anthropic_costsB | Get detailed Anthropic costs with model breakdown and token usage |
| aws_costsC | Get detailed AWS costs with service breakdown and optimization tips |
| provider_compareB | Compare costs across all configured providers |
| cost_trendsC | Analyze cost trends over time with insights |
| cost_breakdownC | Get detailed cost breakdown by multiple dimensions |
| cost_periodsC | Compare costs between two time periods |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/knishioka/cost-management-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server