An MCP server for analyzing open source projects and assisting with codebase integration
An MCP server that helps analyze open source projects and integrate them with your existing codebase. This tool uses Claude to analyze code patterns, architecture, and documentation to provide intelligent merge strategies.
git clone https://github.com/kivo360/anthropic-mcp-code-analyzer.git
cd anthropic-mcp-code-analyzer
npm install
export ANTHROPIC_API_KEY=your_api_key
export PORT=3000 # Optional, defaults to 3000
npm start
curl -X POST http://localhost:3000/analyze \
-H "Content-Type: application/json" \
-d '{
"sourceRepo": "https://github.com/user/source-repo.git",
"targetRepo": "https://github.com/user/target-repo.git"
}'
The server will return:
Analyzes source and target repositories and generates a merge strategy.
Request body:
{
"sourceRepo": "string",
"targetRepo": "string"
}
Health check endpoint to verify server status.
Repository Analysis
Pattern Detection
Merge Strategy Generation
Documentation Processing
Contributions are welcome! Please feel free to submit a Pull Request.