Tracks AI API spend across LLM providers through a gateway with budget enforcement, session summaries and key management.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add llmkit --env LLMKIT_API_KEY='<LLMKIT_API_KEY>' -- npx -y @f3d1/llmkit-mcp-server~/.codex/config.toml
[mcp_servers.llmkit]
command = "npx"
args = ["-y", "@f3d1/llmkit-mcp-server"]
env = { LLMKIT_API_KEY = "<LLMKIT_API_KEY>" }
# codex mcp add llmkit --env LLMKIT_API_KEY='<LLMKIT_API_KEY>' -- npx -y @f3d1/llmkit-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"llmkit": {
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
],
"env": {
"LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"llmkit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
],
"env": {
"LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"llmkit": {
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
],
"env": {
"LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"llmkit": {
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
],
"env": {
"LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"llmkit": {
"command": "npx",
"args": [
"-y",
"@f3d1/llmkit-mcp-server"
],
"env": {
"LLMKIT_API_KEY": "<LLMKIT_API_KEY>"
}
}
}
}Environment variables
LLMKIT_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.