ai-pricing-hub-mcp: Instructions file for Claude Code

CLAUDE.md

ai-pricing-hub-mcp CLAUDE.md is an instructions file for Claude Code from OptimNow/ai-pricing-hub-mcp. It costs 10,485 tokens per session, scanned A, original, MIT.

Project instructions for an MCP app that compares AI model prices, estimates workload costs, and provides cloud-computing prices. MCP, or Model Context Protocol, is a way for apps to provide tools and data to AI assistants.

In plain words
What is it for?
Use it when developing or maintaining the AI Pricing Hub MCP project, including its TypeScript, React, Vite, and Skybridge parts.
Why use it?
It gives contributors a reference for the app’s purpose, architecture, data sources, fallback chain, and project structure.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: positional $N argument; mentions Claude Code; mentions AGENTS.md.

This is OptimNow/ai-pricing-hub-mcp's own configuration. It tells Claude Code how to work on ai-pricing-hub-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-pricing-hub-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to OptimNow/ai-pricing-hub-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/OptimNow/ai-pricing-hub-mcp/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/OptimNow/ai-pricing-hub-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-pricing-hub-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/optimnow/ai-pricing-hub-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/optimnow/ai-pricing-hub-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/optimnow/ai-pricing-hub-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/optimnow/ai-pricing-hub-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-pricing-hub-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/optimnow/ai-pricing-hub-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/optimnow/ai-pricing-hub-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10,485 This file is loaded in full into every session.
When invoked 10,485 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.10485 $0.10485
Opus 5.5 $0.04194 $0.04194
Sonnet 5.5 $0.02097 $0.02097
Haiku 4.5 $0.01048 $0.01048

Measured 19d ago against content hash 5a85567aee30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-pricing-hub-mcp CLAUDE.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 19d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST https://ai-pricing-hub-mcp.fly.dev/mcp \
CLAUDE.md · 611 lines

How it starts

The opening of the file, as written. The whole thing — 611 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.MD - AI Pricing Hub MCP App

Project: AI Pricing Hub MCP Framework: Skybridge (MCP App Framework) Repo: github.com/OptimNow/ai-pricing-hub-mcp (public, MIT) Deployed: https://optimtoken-mcp.optimnow.io/mcp (Fly.io app ai-pricing-hub-mcp, since 2026-10-07)


What This Project Does

An MCP (Model Context Protocol) app that provides AI/LLM model comparison, cost estimation, and cloud compute pricing tools as interactive widgets inside AI conversations (Claude, ChatGPT, VS Code, Goose). Built with Skybridge framework.

Origin: Business logic copied from the standalone web app cloud-sparkle-compare, which has since been renamed to OptimNow/ai-pricing-hub (private). The local checkout is still the cloud-sparkle-compare folder, and this file uses the old name throughout. It is deployed at optimtoken.optimnow.io, which is what this app reads its pricing from. The original app remains untouched.


Architecture

Framework:    Skybridge (MCP App Framework)
Language:     TypeScript
Build:        Vite + Skybridge plugins
UI:           React widgets (rendered via structuredContent)
Deployment:   Fly.io (app ai-pricing-hub-mcp, region cdg, scale-to-zero)
Transport:    Streamable HTTP at /mcp (https://optimtoken-mcp.optimnow.io/mcp)
Data:         optimtoken.optimnow.io API (source of truth)
              → direct OpenRouter (LLM only, uncorrected)
              → static fallback in data/pricing-data.ts

Data sources and the fallback chain

https://optimtoken.optimnow.io is the single source of truth for both LLM and compute pricing. It is the deployed face of cloud-sparkle-compare, and it is where pricing correctness lives: a committed price archive, a PRICE_OVERRIDES table verified against vendor pricing pages, and scripts/check-price-anomalies.mjs, which alarms on the ×0.5 / ×2.0 ratio breaks OpenRouter intermittently serves. This app has no archive and cannot build one, so it asks rather than re-derives.

Read the full file on GitHub · 611 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 19d ago Changed · +16 lines · +271 tokens per session 5a85567aee30
  2. 23d ago Changed · +1 lines · +24 tokens per session 860eb97c0f26
  3. 28d ago Changed · +2 lines · +38 tokens per session d50664699516
  4. 29d ago Changed · +139 lines · +2,414 tokens per session 4f121c3489da
  5. 1mo ago Changed · +26 lines · +391 tokens per session 119359a65b3b
  6. 2mo ago First seen · 427 lines · 7,347 tokens per session scan A 44f8856689c3

Subscribe to this mod's changes

ai-pricing-hub-mcp CLAUDE.md is an instructions file published in the GitHub repository OptimNow/ai-pricing-hub-mcp (0 stars, last pushed 7d ago), licensed MIT. It adds 10,485 tokens to every session, about $0.0419 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

ai-pricing-hub-mcp CLAUDE.md compared with instructions from other repositories

ai-pricing-hub-mcp CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-pricing-hub-mcp CLAUDE.mdOptimNow/ai-pricing-hub-mcpInstructions file07d agoMITA10,485Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode