What is Repository Analyzer MCP Server?
Repository Analyzer MCP Server is a Model Context Protocol server that provides tools for analyzing code repositories, with a special focus on Nostr-related projects. It allows AI assistants like Claude to inspect repository structure, search code, view git history, and access file contents from local directories.
How to use Repository Analyzer MCP Server?
Install the project, build it with npm run build, then configure the server in Claude Desktop's claude_desktop_config.json under mcpServers. Set the DEFAULT_REPO_PATH environment variable to specify a default repository, or override it per command with the repoPath parameter.
Key features of Repository Analyzer MCP Server
- Analyze code structure, components, dependencies, and changes
- Search repository code with pattern matching and file filtering
- View git history for entire repo or specific files
- Special tools for NDK (Nostr Development Kit) repos
- Special tools for Nostr Protocol implementations and NIPs
- Access file contents and directory listings via resources
Use cases of Repository Analyzer MCP Server
- Quickly understand the structure of any local codebase
- Debug or inspect Nostr-related repositories (NDK, NIPs)
- Search for patterns across multiple files in a repository
- View recent git changes for a project or specific file
- Analyze React component usage and dependency trees
评论