cursor-doctor
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cursor-doctoraudit the project and generate the prescription plan"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cursor Doctor
A Node.js/TypeScript CLI that audits a project for documentation, rules, skills, and related knowledge artifacts. It compares what exists against a reference concept catalog and generates a prescription plan (cursor-doctor-prescription-plan.md) with frontmatter todos for missing or incomplete elements.

Install
Use directly via npx:
npx -y @ajgreyling/cursor-doctor@latest generateOr install globally:
npm install -g @ajgreyling/cursor-doctor
cursor-doctor generateRelated MCP server: docverity
Requirements
Node.js
>=18npm (or
npx)
CLI commands
Generate prescription plan (default)
cursor-doctor generate [--project <path>] [--out <filename>]If no command is provided, generate is used by default:
cursor-doctor --project /path/to/projectAudit only
cursor-doctor audit [--project <path>] [--json]Read a discovered document
cursor-doctor read --file <path> [--project <path>]Help
cursor-doctor helpFeatures
Audits discovered artifacts against a 23-concept catalog across six tiers.
Detects
found,incomplete, andmissingconcepts with reason details.Generates a markdown prescription plan with machine-readable YAML todos.
Supports read-only JSON audits for CI/reporting workflows.
Reads project files directly for quick artifact inspection (
readcommand).
README completeness checklist
project name or title
setup/install steps
features or capabilities
how to run or use
Operational workflow
Use this sequence for a full doctor cycle:
Run
cursor-doctor generate(ornpx -y @ajgreyling/cursor-doctor@latest generate).Open
cursor-doctor-prescription-plan.mdand work through frontmatter todos in order.Create/update missing artifacts from each todo
prompt.Complete the final
artifact-synctodo by updating affected docs/rules/skills.Re-run
cursor-doctor generateto confirm gaps are resolved.
Doctor command in Cursor
If you want a doctor / cursor doctor skill in Cursor, point that skill to run the CLI (npx -y @ajgreyling/cursor-doctor@latest generate) and then work from the frontmatter todos in the generated plan.
Tracked Cursor artifacts
These files are committed in this repo so the doctor workflow stays consistent:
File | Purpose |
Skill for "doctor" / "cursor doctor" that runs the CLI and works from plan todos. | |
Rule applied when editing the prescription plan or rules/skills; complete the final Update Artifacts step. | |
Rule (always apply): the cursor-doctor skill must exist at |
Concept catalog
The tool checks for 23 concepts in 6 tiers. Artifacts are matched by file patterns (for example README.md, .cursor/rules/*.mdc) and by content signals so differently named files can still satisfy a concept.
Tier 1 – Foundation: README, project-overview rule, file-locations rule, agent-workflow rule.
Tier 2 – Architecture: Architecture doc, data model doc, API spec (for example OpenAPI).
Tier 3 – Development conventions: Backend, frontend, database, and lessons-learnt rules.
Tier 4 – AI knowledge and skills: AGENTS doc, knowledge-base skill, code-generation skill, operational skills, dependency-management skill.
Tier 5 – Quality and documentation: Testing spec, accessibility doc, style guide, UI documentation.
Tier 6 – Infrastructure: MCP config, container config, CI/CD config.
Final – Artifact sync: “Update Artifacts” is always the final todo.
Project-specific concept profiles
cursor-doctor supports per-project concept customization with this precedence:
package.jsonfield:cursorDoctorfallback file:
.cursor/cursor-doctor.concepts.yamlbuilt-in default catalog
This makes it possible to enforce domain-specific docs (for example, custom architecture/data-workflow docs) without changing the CLI code.
package.json profile example
{
"cursorDoctor": {
"includeDefaultCatalog": true,
"concepts": [
{
"id": "domain-workflows-doc",
"name": "Domain Workflows",
"tier": 2,
"intent": "Domain workflow coverage and execution paths",
"filePatterns": ["docs/WORKFLOWS.md"],
"contentSignals": ["workflow", "flowchart", "sequence"],
"completenessChecks": ["mermaid", "actors", "happy path", "failure path"],
"generationPrompt": "Create docs/WORKFLOWS.md with mermaid diagrams and workflow coverage."
}
]
}
}YAML fallback example (non-Node repos)
Create .cursor/cursor-doctor.concepts.yaml:
includeDefaultCatalog: true
concepts:
- id: domain-state-machines-doc
name: Domain State Machines
tier: 2
intent: Lifecycle status transitions and guards
filePatterns:
- docs/STATE_MACHINES.md
contentSignals:
- state machine
- transition
- status
completenessChecks:
- mermaid
- states
- transitions
generationPrompt: Create docs/STATE_MACHINES.md with mermaid state diagrams.Override behavior
Concept IDs are unique keys.
A project profile concept with an existing ID overrides the built-in concept.
A new ID appends a new concept.
The final
artifact-synctodo is always enforced.
Build and local run
npm install
npm run build
node dist/index.js generateAudit-only examples
# Human-readable summary
node dist/index.js audit
# JSON output for automation
node dist/index.js audit --jsonPublishing
npm login # once, if needed
./publish.sh # build + npm publish
./publish.sh --dry-run # test without publishingDocumentation index
Core docs
Project docs (docs/)
Cursor skills (.cursor/skills/)
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that indexes Markdown, Word, HTML, and PDF documents into a SQLite knowledge graph with CJK+Latin full-text search and cross-document reference tracking. Runs drift audits to surface stale policies, conflicting research claims, superseded ADRs, and undocumented code exports.105MIT
- Alicense-qualityBmaintenanceMCP server that enables coding agents to check documentation claims against source code, detecting drift and suggesting fixes.152MIT
- Alicense-qualityCmaintenanceEvidence-first delivery audit MCP server that evaluates task requirements against delivery evidence and returns a reproducible pass/needs_review/fail decision with a deterministic receipt.MIT
- AlicenseAqualityAmaintenanceMCP server that provides audit and safety-check tools for enterprise SDLC code integrity, enabling AI agents to scan workspaces for lifecycle gaps, mock-theater tests, DRY violations, and language-specific issues in shell, JavaScript/HTML, and Python.4376MIT
Related MCP Connectors
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
MCP server for generating rough-draft project plans from natural-language prompts.
Scans MCP servers for tool poisoning, prompt injection and supply chain risks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajgreyling/cursor-doctor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server