npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@skillfm/llm-cost-optimizer-mcp

v0.1.0

Published

SkillFM gateway MCP for LLM cost optimization, OpenAI/Anthropic usage, and Beacon audits.

Readme

SkillFM LLM Cost Optimizer MCP

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.

Quick Start

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"]
    }
  }
}

What This Gateway Helps With

  • Turn LLM spend questions into SkillFM Beacon usage and health checks.
  • Guide users from rough token visibility to provider-level BYOK monitoring when they are ready.
  • Surface cost-saving opportunities in context, model choice, cache use, batching, and repeated work.
  • Keep the public package thin while delegating execution to the SkillFM local runtime.

This gateway is for users who ask:

  • "How do I reduce OpenAI or Anthropic spend?"
  • "Which agent workflow is burning tokens?"
  • "Can I optimize LLM cost without sending keys to a SaaS dashboard?"
  • "How do I connect provider usage after I trust the local checkup?"

How It Works

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.

Activation Path

Start the local sidecar when the user wants to connect SkillFM:

npx -y @skillfm/llm-cost-optimizer-mcp@latest start

Agent-driven activation flow:

  1. Read the sidecar URL from stdout or ~/.skillfm/local.json.
  2. Call POST <sidecar_url>/activate/start.
  3. Show the returned verification URL and real device code to the user.
  4. Poll POST <sidecar_url>/activate/poll until it returns activated: true.
  5. Use SkillFM Beacon MCP tools for checkups, usage visibility, BYOK guidance, and cleanup audits.

Do not fabricate a placeholder code. The device code must come from POST /activate/start.

Security Model

  • Transparent gateway: This package is a public search/distribution gateway, not a separate hidden product.
  • Local-first runtime: Runtime execution goes through SkillFM's local package.
  • BYOK boundary: Provider keys are introduced only after user value is established, and key values are not read back by agents.
  • No private core: This repository contains distribution metadata, docs, and a thin launcher only.
  • Read-only first: Cleanup and usage inspection begin with read-only audits.

See PRIVACY.md and SECURITY.md.

Marketplace Keywords

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-cost
  • cost
  • optimizer
  • openai
  • anthropic
  • usage
  • skillfm

License

MIT