documind mcp server
A Model Context Protocol server that analyzes and evaluates GitHub README documentation quality using advanced neural processing, providing scores and improvement suggestions.
A Model Context Protocol server that analyzes and evaluates GitHub README documentation quality using advanced neural processing, providing scores and improvement suggestions.
"Where Documentation Meets Digital Intelligence"
A next-generation Model Context Protocol (MCP) server that revolutionizes documentation quality analysis through advanced neural processing.
npm install
npm run build
Establish real-time neural connection:
npm run watch
Integrate with Claude Desktop mainframe:
Windows Terminal:
// %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"documind-mcp-server": {
"command": "/path/to/documind-mcp-server/build/index.js"
}
}
}
Initiates quantum analysis of documentation structure.
Parameters:
- projectPath
: Neural pathway to target directory
Example Request:
{
name: "evaluate_readme",
arguments: {
projectPath: "/path/to/project"
}
}
Example Response:
{
content: [
{
type: "text",
text: JSON.stringify({
filePath: "/path/to/project/README.md",
hasHeaderImage: true,
headerImageQuality: {
hasGradient: true,
hasAnimation: true,
// ... other quality metrics
},
score: 95,
suggestions: [
"Consider adding language badges",
// ... other suggestions
]
})
}
]
}
Access the neural network through MCP Inspector:
npm run inspector
assets/
directoryCheck file permissions
Language Badges Not Recognized
Ensure proper center alignment
Build Errors
node_modules
and reinstall dependenciesCheck for syntax errors in modified files
MCP Connection Issues
Optimize file size while maintaining quality
README Scanning
Primary service for README analysis and evaluation.
class ReadmeService {
// Analyzes all README files in a project
async evaluateAllReadmes(projectPath: string): Promise<ReadmeEvaluation[]>
// Evaluates a single README file
private async evaluateReadme(dirPath: string, readmePath: string): Promise<ReadmeEvaluation>
// Evaluates language badge configuration
private evaluateLanguageBadges(content: string): BadgeEvaluation
}
Specialized service for SVG header image analysis.
class SVGService {
// Evaluates SVG header image quality
public evaluateHeaderImageQuality(imgSrc: string, content: string): HeaderImageQuality
// Checks for project-specific elements in SVG
private checkProjectSpecificImage(svgContent: string, readmeContent: string): boolean
}
interface ReadmeEvaluation {
filePath: string;
hasHeaderImage: boolean;
headerImageQuality: HeaderImageQuality;
isCentered: {
headerImage: boolean;
title: boolean;
badges: boolean;
};
hasBadges: {
english: boolean;
japanese: boolean;
isCentered: boolean;
hasCorrectFormat: boolean;
};
score: number;
suggestions: string[];
}
interface HeaderImageQuality {
hasGradient: boolean;
hasAnimation: boolean;
hasRoundedCorners: boolean;
hasEnglishText: boolean;
isProjectSpecific: boolean;
}
The server implements comprehensive error handling:
try {
const evaluations = await readmeService.evaluateAllReadmes(projectPath);
// Process results
} catch (error) {
const errorMessage = error instanceof Error ? error.message : String(error);
return {
content: [{
type: 'text',
text: `Evaluation error: ${errorMessage}`
}],
isError: true
};
}
Operating under MIT Protocol.
[
{
"description": "リポジトリ内の全てのREADMEファイルの構成を評価し、改善点を提案します",
"inputSchema": {
"properties": {
"projectPath": {
"description": "プロジェクトのルートディレクトリパス",
"type": "string"
}
},
"required": [
"projectPath"
],
"type": "object"
},
"name": "evaluate_readme"
}
]