Skip to main content
Glama
knishioka

Cost Management MCP

by knishioka

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CACHE_TTLNoCache time-to-live in seconds3600
LOG_LEVELNoLog verbosity (debug/info/warn/error)info
REDIS_URLNoRedis connection URL (Required if CACHE_TYPE is redis)
AWS_REGIONNoAWS region (Required for AWS cost tracking). Cost Explorer only works in us-east-1.us-east-1
CACHE_TYPENoCache backend (memory/redis)memory
OPENAI_API_KEYNoOpenAI API key (Required for OpenAI cost tracking)
MCP_SERVER_PORTNoServer port3000
ANTHROPIC_API_KEYNoAnthropic Admin API key (starts with sk-ant-admin...) (Required for Anthropic cost tracking)
AWS_ACCESS_KEY_IDNoAWS access key (Required for AWS cost tracking)
AWS_SECRET_ACCESS_KEYNoAWS secret key (Required for AWS cost tracking)
GCP_BILLING_ACCOUNT_IDNoYour GCP billing account ID
GOOGLE_APPLICATION_CREDENTIALSNoPath to your GCP service account JSON file

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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