An MCP (Model Context Protocol) server that provides real-time LLM token pricing data for 60+ AI models across 15 providers.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"tokencost-mcp-server": {
"command": "npx",
"args": [
"-y",
"ankit-aglawe/tokencost-mcp-server"
]
}
}
}
Run in terminal:
claude mcp add tokencost-mcp-server npx -y ankit-aglawe/tokencost-mcp-server
Add to .cursor/mcp.json:
{
"mcpServers": {
"tokencost-mcp-server": {
"command": "npx",
"args": [
"-y",
"ankit-aglawe/tokencost-mcp-server"
]
}
}
}