ccmcp

ccmcp is a skill for Claude Code, Codex from Zane456/cc-session-memory. It costs 94 tokens per session (317 once invoked), scanned A, original, MIT.

A command for showing usage statistics for MCP servers, which are services that provide tools to an AI assistant. It reports call counts, first and latest use, and the most-used tools for each server.

In plain words
What is it for?
Use it to review the full recorded MCP usage history and identify the most active servers and tools.
Why use it?
It makes it easier to see which connected services are used often and which are being ignored.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review the full recorded MCP usage history and identify the most active servers and tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zane456/cc-session-memory/ccmcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Zane456/cc-session-memory --skill ccmcp
Clone the repo
git clone --depth 1 https://github.com/Zane456/cc-session-memory

Made for: Claude Code, Codex.

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 ccmcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/zane456/cc-session-memory/ccmcp/github.svg)](https://agentmods.dev/skills/zane456/cc-session-memory/ccmcp)
Your own site
<a href="https://agentmods.dev/skills/zane456/cc-session-memory/ccmcp"><img src="https://agentmods.dev/badge/skills/zane456/cc-session-memory/ccmcp/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 ccmcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/zane456/cc-session-memory/ccmcp"><img src="https://agentmods.dev/badge/skills/zane456/cc-session-memory/ccmcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00094 $0.00317
Opus 5.5 $0.00038 $0.00127
Sonnet 5.5 $0.00019 $0.00063
Haiku 4.5 $0.00009 $0.00032

Measured 1mo ago against content hash 63e55a8f6b41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ccmcp scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ccmcp/SKILL.md · 29 lines

What it actually says

/ccmcp — MCP 使用统计(单命令)

数据源:<cc-session-memory>/memories/skill_usage.jsonl(source=mcp 的记录),cc-session-memory 的 Stop hook 每轮自动记录,长期累积,不受 CC 30 天 transcript 清理影响。

行为(固定,无参数分支)

跑这一条命令,把输出整理给用户:

python3 "<CC_MEMORY_REPO>/memory_system/cli/ccmem.py" mcp-stats

输出即全部记录时间范围的排行:MCP server / 次数 / 首次 / 最近 / top tools(每个 server 内调用最多的 3 个工具)。

输出要求

  • 直接给表格 + 一句话总结(总数、最常用、谁在吃灰),不要复述命令本身

数据维护(仅用户提到"数据不全/补一下/回填"时)

... mcp-stats --backfill
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. 1mo ago First seen · 29 lines · 94 tokens per session scan A 63e55a8f6b41

Subscribe to this mod's changes

ccmcp is a skill published in the GitHub repository Zane456/cc-session-memory (1 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 317 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

graphify

Use when the user invokes /graphify or asks to build, update, or query a knowledge graph from a folder of files (code, docs, papers, notes, images). Triggers: 'map this codebase', 'graph my notes', 'what is connected across these files', 'community detection', 'GraphRAG', incremental graph update, Neo4j/SVG/GraphML…

mycelium-hq/ai-brain-starter · 111 tokens

setup-brain

Set up or upgrade an AI-powered Obsidian vault. Interviews you, builds your vault structure (or works with what you already have), creates your CLAUDE.md memory file, installs tools, and gets you journaling — all in one conversation. Also has a repair/upgrade path for existing users.

mycelium-hq/ai-brain-starter · 66 tokens

sunday-review

Use when the user asks for the weekly meta-review or Sunday wrap-up of their week and vault: says /sunday, /sunday-review, 'let's do the weekly review,' 'Sunday review,' 'review my week,' 'weekly retro,' 'week in review,' 'end-of-week review,' or wants journals, patterns, vault health, and stale decisions reviewed…

mycelium-hq/ai-brain-starter · 102 tokens

cierre-de-llamada

Use when a SALES or CLIENT call just ended and the follow-up needs to be produced from its transcript. Triggers: /cierre, "close out this call", "acabo de tener una llamada", "arma el seguimiento", "what's the follow-up on this call", "qué sigue con este cliente", or the user pastes a sales-call transcript. Produces…

mycelium-hq/ai-brain-starter · 0 tokens

note-todos

Use when the user says /note-todos, asks to pull, extract, or file action items or to-dos from a non-meeting note (class notes, book notes, podcast notes, transcripts, panel writeups, strategy docs, action plans), or mentions tasks buried in a note that never reached a to-do list: unfiled checkboxes, orphan action…

mycelium-hq/ai-brain-starter · 106 tokens

patterns

Use when the user says /patterns or mentions the Instinct Engine, says "I keep noticing" or "this keeps coming up", after a weekly review, when a pattern is hardening, or at session end after repeated corrections, 5+ tool-call friction on a routine task, dead-end backtracking, or an undocumented discovery. Also as a…

mycelium-hq/ai-brain-starter · 104 tokens