This is quality assurance tooling for MCP server developers. It evaluates six dimensions of what the author calls "contract quality": task clarity, trust and safety declarations, interface design, token efficiency, install friction, and cross-platform metadata completeness. You can run it as a CLI tool that checks a local server path and outputs grades with recommendations, or wire it up as an MCP server so agents can evaluate other servers programmatically. Default mode is rule based and offline, but you can pass OPENAI_API_KEY to get AI enhanced qualitative reviews. Useful before publishing to registries like Smithery or when debugging why agents struggle to use your tools correctly.
claude mcp add --transport stdio jiansen-mcp-doctor -- uvx mcp-doctor