Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Ā© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🧠 Knowledge & Memory
  3. Cc Sensei
Cc Sensei logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 3:32:49 PM

Cc Sensei

User RatingsBe the first to rate and review this MCP server!
View Repository3 GitHub StarsTotal stargazers on GitHub for the source repository (3 stars).Visit Website
knowledgearchitecturesource-codemcpagent-tools

Provides a local MCP server indexing Claude Code's 310K lines into 32 modules with 6 tools for architecture queries and source lookup.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
We couldn’t automatically confirm this listing starts correctly

The install command below started, but didn't respond the way we expected when we tried to talk to it.

npx -y cc-sensei

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 1mo ago.

Manual Client & Custom JSON ConfigExpand JSON ā–¾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "contradictory-body-cc-sensei": {
      "command": "npx",
      "args": [
        "-y",
        "cc-sensei"
      ]
    }
  }
}

šŸ’” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives🧠 More in Knowledge & Memory

Overview

This MCP server distills Claude Code's extensive source code into 32 structured architecture modules with 40K lines of analysis. It exposes six tools that let AI agents query module lists, architecture details, cross-cutting concerns, reusable design patterns, and source code snippets. It runs fully locally with sub-120ms p95 latency and zero network dependencies, ideal for agents needing deep architectural insight into Claude Code without parsing the raw source.

Use cases

•Query Claude Code architecture modules by natural language
•Trace design concerns across multiple modules
•Retrieve reusable design patterns for agent development
•Access precise source code snippets with line references
•List all core modules and their responsibilities

Key features

•32 queryable architecture modules from Claude Code
•6 specialized tools for architecture and source queries
•Natural language search with adjustable depth
•Cross-trace concerns across all modules
•Source code reading with line numbers and ranges
•Fully local operation with sub-120ms p95 latency

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Cc Sensei.

Extracted Tool Capabilities
32 queryable architecture modules from Claude Code
6 specialized tools for architecture and source queries
Natural language search with adjustable depth
Cross-trace concerns across all modules
Source code reading with line numbers and ranges
Fully local operation with sub-120ms p95 latency

Documentation Overview

šŸŽ“ cc-sensei

Inject every ounce of Claude Code's architectural wisdom into your AI's brain

English | äø­ę–‡

MCP Tests Modules Latency License

cc-sensei: 310K lines of source distilled into 32 queryable modules via MCP

Sound familiar?

😩 "I've already dug deep into Claude Code's source, but when I ask my AI to help me build an Agent, it has no idea what I'm talking about — what I read, it didn't."

😫 "I'd love to build a knowledge base so my AI can learn from Claude Code, but the moment I open it — 300K+ lines, 1,250 files — both my AI and I are scared off."

😵 "I've barely looked at Claude Code's source, but I still want an Agent just as powerful — where do I even begin?"

If any of these hit home — this project is built for you.


What it does for you

Agent Architecture Oracle distills Claude Code's 310K lines of source and 1,250 files into 32 core modules with 40K lines of structured analysis, and serves it directly to your AI through the MCP protocol.

It covers every core capability of Claude Code:

šŸ” Agent main loop Ā· šŸ› ļø Tool system & execution pipeline Ā· šŸ›”ļø Permissions & security sandbox Ā· 🌊 Model API & streaming 🧠 Context engineering & compaction Ā· šŸ“‚ File / Shell / Git tools Ā· šŸ”Œ MCP protocol Ā· šŸŽØ Ink rendering engine Ā· 🧩 Skills/plugins šŸ’¾ Persistent memory Ā· ⚔ Prompt cache break detection Ā· šŸ¤– Sub-agents & task system … (22 core + 10 deep-dive supplements)

It establishes a complete index pipeline: natural language → module → design decision → reusable pattern → corresponding source code:

Code
       You say one thing                  Oracle automatically does five things
  ─────────────────────────         ──────────────────────────────────────────
  "How do you compact long       ──►  ā‘  Match natural language to M06 (Context Engineering)
   conversations?"                     ā‘” Return the 4-tier compaction architecture & 9-section summary prompt
                                       ā‘¢ List 5 directly-copyable engineering principles
                                       ā‘£ Cross-trace the 12 modules touched by prompt cache
                                       ⑤ Pull up services/compact/microCompact.ts source on demand

After plugging it into Claude Desktop / Cursor / Qoder / your own Agent, your AI gains a "Chief Architect of Claude Code" as its consultant — whether you're cloning the whole thing or just stealing one design, it tells you exactly where to look, why it works, and how to copy it.

In one night, your AI becomes a world-class Agent architect.


šŸš€ Quick Start (3 steps)

Option A — Try instantly via npx (zero install)

Terminal
npx cc-sensei

This downloads and runs the server directly. Skip to Step 3 to connect your AI.

Option B — Clone for full control

Step 1 — Clone the project

bash
git clone https://github.com/contradictory-body/cc-sensei.git && cd cc-sensei

Step 2 — Install and build

Copy-paste again:

bash
pnpm install && pnpm build

šŸ’” Don't have pnpm? Run npm install -g pnpm first. šŸ’” This step parses 32 module analyses, generates the knowledge index, and compiles the server. One-time only.

When done, you should see: āœ… module-registry.json (32 modules) and āœ… Build success.

Step 3 — Connect your AI

Add this snippet to your MCP client's configuration file (replace the path with the one you just cloned to):

config.json
{
  "mcpServers": {
    "cc-sensei": {
      "command": "node",
      "args": ["/your/absolute/path/cc-sensei/dist/server.js"]
    }
  }
}

Don't know where the config file is? Common locations:

ClientConfig file path
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
CursorSettings → MCP → Add new server
QoderSettings → MCP → Edit mcpServers

Restart your client. Done! Your AI just gained 6 new skills.

šŸŽÆ Try it out

Just say to your AI:

"Use cc-sensei to tell me how Claude Code optimizes prompt cache."

It will call the tools on its own and return a complete analysis with source-code references. That's it.


Dive deeper

šŸ› ļø What the 6 tools do

ToolOne-line capabilityWhen to use
list_modulesList all 32 modules and their concerns"Which modules does Claude Code break down into?"
query_architectureNatural-language search with 3 depth levels (brief/standard/deep)"How do they prevent long-conversation context overflow?"
get_moduleDrill into one module's specific section (responsibility / architecture / decisions / principles / relations)"Show me M06's design principles"
trace_concernTrace one concern across all 32 modules, ranked by hit count"Which modules touch 'prompt cache'?"
search_patternsBulk-extract reusable patterns with built-in size limiting"Give me every cache-related design I can copy"
get_source_codeRead Claude Code source directly (with line numbers, ranges, and directory listings)"Show me services/api/claude.ts:1412-1456"

Every tool comes with:

  • āœ… Path-prefix tolerance — both src/... and bare paths are accepted; no more copy-paste failures
  • āœ… Result rate-limiting — 800 chars per section and 12 sections by default, so your AI's context window stays alive
  • āœ… Path-traversal protection — attacks like ../../../etc/passwd are rejected outright
  • āœ… Graceful degradation — bad arguments return friendly hints instead of crashes

šŸŽ¬ Real scenario: "I want to add context compaction to my Agent"

Code
You:    "How do you compact conversation history to avoid hitting the token limit?"

Oracle (query_architecture, 103ms):
  → Hit M06: Context Engineering
  → Returns the 4-tier compaction architecture comparison table
    (microCompact / sessionMemoryCompact / autoCompact / reactiveCompact)
  → Trigger conditions, whether LLM is invoked, key file locations — all listed

You:    "Show me M06's key design principles"

Oracle (get_module section=principles, 102ms):
  → "Sticky-on Beta Headers — performance over simplicity"
    "Single message-level cache_control marker (max 4)"
    "9-section summary structure — eval-driven prompt"
  → Each principle includes: where it lives, code snippet, why, how to reuse, the trade-off

You:    "How many modules does 'prompt cache' span?"

Oracle (trace_concern, 118ms):
  → 12 modules ranked by hit count
  → Each with 5 lines of file:line excerpts

You:    "Show me src/services/compact/microCompact.ts"

Oracle (get_source_code, 99ms):
  → Source with line numbers + total line count

A complete "understand → copy → ship" loop, averaging ~110ms.


šŸ“¦ Knowledge scale

Code
šŸ“š 32 module analyses  (40K lines of distilled insight covering 310K lines of source)
ā”œā”€ā”€ M01-M22  Core modules
│   M01 Process bootstrap & lifecycle Ā· M02 Agent main loop Ā· M03 Tool system
│   M04 Permissions & security Ā· M05 Model API & streaming Ā· M06 Context engineering
│   M07 File/Shell/Git tools Ā· M08 MCP protocol Ā· M09 LSP integration
│   M10 Bridge/IPC Ā· M11 Ink rendering engine Ā· M12 Message rendering
│   M13 Input system Ā· M14 Sub-agents & tasks Ā· M15 Skills/plugins
│   M16 Command system Ā· M17 Configuration & settings Ā· M18 Telemetry & analytics
│   M19 State management Ā· M20 Hotkeys & focus Ā· M21 Buddy/voice Ā· M22 Testability
└── SUPP-* 10 deep-dive supplements
    AgentSummary Ā· SessionMemory Ā· autoDream Ā· ColorDiff
    extractMemories Ā· fileIndex Ā· largeFiles Ā· speculation
    teamMemorySync Ā· yogaLayout

šŸ—‚ļø Indexes: 390 keywords / 104 concerns / full section-line mappings
šŸ’» Full source code: claude-code-main/src/  available for direct local reads

šŸ—ļø Engineering philosophy

This project is dogfooding itself — built using the methods Claude Code teaches, made to serve Claude.

Claude Code's design philosophyHow this project applies it
Build-time indexing + zero runtime analysisSection line ranges, keywords, and concerns are all computed in pnpm build:index; runtime just looks up JSON
Path-traversal gatekeepingvalidatePath runs before every file read
Graceful degradation > unhandled crashesSection not found? Return the "available types" hint
Structured prompt-as-specAll 32 MODULE_NOTES strictly follow a 10-section template
Rate-limiting by defaultsearch_patterns defaults to 800 chars per section, 12 sections cap, configurable

⚔ Performance

Code
p50 = 105ms   p95 = 118ms   max = 125ms
Average response size: 7K chars
Fully local, 0 network dependency

āœ… Tests

bash
pnpm exec tsx scripts/test-suite.ts          # 30 baseline functional tests
pnpm exec tsx scripts/regression-3fixes.ts   # 11 UX-fix regression tests
pnpm exec tsx scripts/e2e-comprehensive.ts   # 24 real-scenario E2E tests
Test suiteCasesResult
Baseline functionality (6 tools Ɨ multiple branches)30āœ… 30/30
UX-fix regression11āœ… 11/11
Real user-scenario E2E (3 personas)24āœ… 24/24
Total65āœ… 65/65

šŸ“ Project structure

Read the full README →View source on GitHub →

Related MCP Servers

View all in Knowledge & Memory View all alternatives
  • Moxie Docs MCP logoMoxie Docs MCP
    ā˜… Featured

    MCP & Agent Skills for Automated Documentation, and codebase conventions + context

    🧠 Knowledge & Memory21 views
    Compare vs Moxie Docs MCP →
  • Scrivener MCP logoScrivener MCP

    Connect Scrivener 3 writing projects to Claude and other AI assistants. 47 tools for document management, writing analysis, semantic search, character/plot memory, and content enhancement. Progressive skill loading, relationship engine with HMS triplets, and JS fallback for offline semantic search. npm i -g scrivener-mcp

    🧠 Knowledge & Memory16 views
    Compare vs Scrivener MCP →
  • Hindsight logoHindsight

    Hindsight: Agent Memory That Works Like Human Memory - Built for AI Agents to manage Long Term Memory

    🧠 Knowledge & Memory3 views
    Compare vs Hindsight →
  • Basic Memory logoBasic Memory

    Persistent, local-first AI memory: a semantic knowledge graph of plain Markdown files that humans and LLMs both read and write. Works with any MCP client, with optional cloud sync and team workspaces.

    🧠 Knowledge & Memory2 views
    Compare vs Basic Memory →

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars
3
Stargazers on the source repository.
npm downloads
61
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.
Install check
Inconclusive
Started but did not complete the MCP handshake in our test.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Cc Sensei

It distills Claude Code's large source into structured modules and serves them via MCP for AI agents to query architecture and source.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCc Sensei AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/contradictory-body-cc-sensei?style=directory)](https://allmcps.com/mcp/contradictory-body-cc-sensei)
HTML Embed
<a href="https://allmcps.com/mcp/contradictory-body-cc-sensei"><img src="https://allmcps.com/api/badge/contradictory-body-cc-sensei?style=directory" alt="Cc Sensei on AllMCPs" /></a>

Technical Specs & Signals

Category🧠Knowledge & Memory
PricingFree
More technical detailsExpand ā–¾
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsClaude Desktop, Cursor
Last updatedAug 9, 2026
10/10 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars3
GitHub Star CountTotal stargazers on GitHub representing community popularity (3 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jun 15, 2026
npm downloads61/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
52Quality signal: Good Ā· 52/100How this signal is calculated ā–¾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools24/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 23d ago via OSV.dev Ā· cc-sensei (npm)

ā˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🧠 Knowledge & Memory →Best MCP servers for Memory & Knowledge →Alternatives to Cc Sensei →Install in Claude DesktopInstall in CursorInstall in VS Code