This is a thin gateway package that routes to SkillFM's local runtime to help you understand where your LLM spend is going. It exposes Beacon MCP tools that audit token usage across OpenAI and Anthropic, suggest caching or batching wins, and guide you toward BYOK monitoring when you're ready to connect provider credentials. The activation flow is device code based: you start the sidecar, call the activation endpoint, show the user a real verification URL, and poll until authenticated. Reach for this when you want cost visibility without sending keys to a dashboard first, or when agent workflows are burning tokens and you need read only audits before cleanup.
LLM cost optimization and provider usage visibility for MCP-capable agents.
This repository is a transparent SkillFM gateway package. It exists to match a specific marketplace/search intent, then delegates execution to the canonical SkillFM Beacon MCP and local runtime.
Powered by SkillFM Beacon.
Use this gateway as an MCP stdio server:
npx -y @skillfm/llm-cost-optimizer-mcp@latest
Equivalent explicit SkillFM entrypoint:
npx -y @skillfm/mcp@latest
For MCP clients that accept JSON config:
{
"mcpServers": {
"llm-cost-optimizer": {
"command": "npx",
"args": ["-y", "@skillfm/llm-cost-optimizer-mcp@latest"]
}
}
}
This gateway is for users who ask:
The public package is intentionally thin. It sets SKILLFM_GATEWAY_SOURCE=llm-cost-optimizer and forwards execution to @skillfm/mcp@latest, which then delegates to the canonical @skillfm/local runtime.
No private SkillFM platform logic, customer data, provider credentials, or backend modules live in this repository.
Start the local sidecar when the user wants to connect SkillFM:
npx -y @skillfm/llm-cost-optimizer-mcp@latest start
Agent-driven activation flow:
~/.skillfm/local.json.POST <sidecar_url>/activate/start.POST <sidecar_url>/activate/poll until it returns activated: true.Do not fabricate a placeholder code. The device code must come from POST /activate/start.
See PRIVACY.md and SECURITY.md.
LLM cost optimizer, OpenAI usage, Anthropic usage, token usage, AI cost optimizer, BYOK, SkillFM Beacon, MCP server.
Expected Official MCP Registry single-token hits:
llm-costcostoptimizeropenaianthropicusageskillfmMIT
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent
fradser/mcp-server-mas-sequential-thinking