Skip to main content
MCP server CX Codex

ai-context-kit — Claude Code MCP server: what it does, how to install

Audits agent instructions across project files, spots conflicting guidelines, and monitors token overhead.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add ai-context-kit -- npx -y ai-context-kit
Open on GitHub

What ai-context-kit does

Context files pile up quickly. Instructions in CLAUDE.md, .cursor/rules/, and Copilot prompts often contradict each other. This tool audits context files and flags opposing directions or repeated lines.

The server measures the token footprint of each configuration file. It also provides a selection helper to pass only the instructions needed for a given task. Your prompt window stays lean.

Node.js must be present locally to execute the server via npx. You can also trigger the lint check in continuous integration, where failures stop the pipeline.

What it helps with

  • detect conflicting rules across different editor configs
  • measure token usage across context files
  • prune duplicate lines from prompt instructions
  • spot vague guidelines in project documentation

Example prompts for the agent

  • Audit project context files for conflicting rules using ai-context-kit.
  • Check how many tokens my CLAUDE.md and Cursor rules consume.
  • Select context rules relevant only to the authentication task.

How to install ai-context-kit

Platform CLI

claude mcp add ai-context-kit -- npx -y ai-context-kit

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ai-context-kit

How to install ai-context-kit in Claude Code?

Run claude mcp add ai-context-kit -- npx -y ai-context-kit.

What does ai-context-kit do?

It inspects agent configuration files, flags conflicting guidelines, and calculates token consumption per rule file.

Which rule formats does ai-context-kit recognize?

The utility parses CLAUDE.md, .cursor/rules/, AGENTS.md, .cursorrules, and .github/copilot-instructions.md.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor