mcpbeat Sign in

ctxlint MCP Server

local only

ctxlint runs on your own machine — the client starts it, so there is no endpoint to ping. 16 091 installs a week from npm. Last commit 16 Sep 2026.

Lint AI agent context files (CLAUDE.md, AGENTS.md, etc.) against your actual codebase

Installs per day peak 5 150 · avg 1 604 · +141% w/w
a month agotoday
16 091
Installs / week
npm · @yawlabs/ctxlint
10
Stars
0 open issues
16 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

    const out = execFileSync(cmd, ['--version'], {
  const body = fs.readFileSync(path.join(REPO_ROOT, meta.spec), 'utf-8');
Touches key and credential files release.sh:640
      fail "npm publish failed (non-OTP error -- see output above). If E401/E404, the automation token in ~/.npmrc is missing or stale: restore/verify it (check the //registry.npmjs.org/:_authToken line; 'npm whoami' should answer). Do NOT re-auth via the web login flow -- it ove…

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ctxlint -- npx -y @yawlabs/ctxlint
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ctxlint": {
      "args": [
        "-y",
        "@yawlabs/ctxlint"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.ctxlint]
command = "npx"
args = ["-y", "@yawlabs/ctxlint"]
.cursor/mcp.json
{
  "mcpServers": {
    "ctxlint": {
      "args": [
        "-y",
        "@yawlabs/ctxlint"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "ctxlint": {
      "args": [
        "-y",
        "@yawlabs/ctxlint"
      ],
      "command": "npx"
    }
  }
}

Alternatives to ctxlint

same job, measured the same way
Prompyai
by samouh-waleed

Scores your prompts against your real codebase — context-aware prompt intelligence

33 installs/wk local only
Promptarch
by promptarch

Research-backed linting + generation for agent context files (CLAUDE.md, AGENTS.md, Cursor rules).

3 tools answering
AI Context Kit
by ofershap

Lint, measure, and sync AI context files across Cursor, Claude Code, Copilot.

52 installs/wk local only
Context Autopilot
by chiragbachani

Mines your Claude Code and Cursor sessions into evidence-based CLAUDE.md / AGENTS.md rules.

88 installs/wk local only
Code Context Engine
by ai-elara

Index your codebase. AI searches instead of re-reading files. 94% token savings.

290 installs/wk local only
Codeweave
by semihkayan

Save tokens while coding — your AI agent gets structured code context, not file dumps.

72 installs/wk local only
Filesift
by roshunsunder

Local file search for AI agents — semantic + keyword indexing over your codebase.

50 installs/wk local only
D
Constitution Lint
by agentopskit-www

Static linter for CLAUDE.md-style agent constitution files: 10 operational-guardrail checks.

1 tools answering

ctxlint — questions

Answers built from our own checks of this server.

Why is there no uptime for ctxlint?
ctxlint runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @yawlabs/ctxlint was installed 16 091 times last week.
How do I connect ctxlint?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @yawlabs/ctxlint straight from npm; nothing to host, nothing to sign up for.
How many people use ctxlint?
The npm package @yawlabs/ctxlint was installed 16 091 times in the last week. Week over week that is +141%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is ctxlint open source?
Yes — it is published under the MIT licence, written in TypeScript and 10 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.