{"mcp_version":"2024-11-05","server":{"name":"ai-cost-calculator","version":"1.0.0"},"description":"MCP server for AI cost calculation. Use POST /mcp with JSON-RPC 2.0.","usage":{"initialize":{"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{}}},"list_tools":{"method":"tools/list"},"call_tool":{"method":"tools/call","params":{"name":"compare_models","arguments":{"input_tokens":1000,"output_tokens":500}}}},"tools":[{"name":"calculate_cost","description":"Calculate the cost of a single AI API request for a specific model and token count"},{"name":"estimate_monthly","description":"Estimate monthly cost based on daily usage patterns"},{"name":"compare_models","description":"Compare costs across all AI models for the same workload, sorted cheapest first"},{"name":"find_cheapest","description":"Find the cheapest AI model(s) that fit within an optional budget"},{"name":"estimate_tokens","description":"Estimate token count from text input"},{"name":"list_models","description":"List all available AI models with their pricing information"}],"endpoint":"POST /mcp (Content-Type: application/json, JSON-RPC 2.0)"}