drio
Open app

Repository Analyzer MCP Server

Source

A Model Context Protocol (MCP) server for analyzing code repositories with special tools for the Nostr protocol and NDK.

Catalog onlyCatalog onlySTDIO

Overview

The Repository Analyzer MCP Server is a Model Context Protocol (MCP) server designed for analyzing code repositories, particularly focusing on Nostr-related projects and the Nostr Development Kit (NDK).

To use the Repository Analyzer MCP Server, clone the repository, install the dependencies, and build the project. You can then set the repository path and use various commands to analyze code, search patterns, and view git history.

  • Analyze code structure, components, dependencies, and recent changes. - Search through repository code with pattern matching. - View git history for the entire repository or specific files. - Special tools for analyzing NDK repositories and Nostr Protocol implementations.
  1. Analyzing the structure of a specific code repository.
  2. Searching for specific patterns in code files.
  3. Retrieving git commit history for tracking changes.
  4. Analyzing Nostr protocol implementations and NDK repositories.

Add to your AI client

Use these steps to connect Repository Analyzer MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "repo-analyzer-mcp-docnr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "repo-analyzer-mcp-docnr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "repo-analyzer-mcp-docnr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "repo-analyzer-mcp-docnr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "repo-analyzer-mcp-docnr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "repo-analyzer-mcp-docnr": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-repo-analyzer-mcp-docnr"
      ]
    }
  }
}

FAQ

Can I analyze multiple repositories at once?

Yes! You can specify different repository paths in your commands to analyze multiple repositories without restarting the server.

What programming languages does it support?

The server is designed to analyze repositories written in any language, as long as the structure is compatible with the tools provided.

Is there a graphical interface?

No, the Repository Analyzer MCP Server is a command-line tool and does not have a graphical user interface.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2545,"uuid":"0ca45bde-c468-401f-85c9-2d900ba95fe1","name":"repo-analyzer-mcp","title":"Repository Analyzer MCP Server","description":"A Model Context Protocol (MCP) server for analyzing code repositories with special tools for the Nostr protocol and NDK.","avatar_url":"https://avatars.githubusercontent.com/u/135142396?v=4","created_at":"2025-03-13T08:44:30.611Z","updated_at":"2025-03-20T06:06:52.276Z","status":"created","author_name":"DocNR","author_avatar_url":"https://avatars.githubusercontent.com/u/135142396?v=4","tags":"repo-analyzer,code-analysis,Nostr-protocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/DocNR/repo-analyzer-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-11 10:49:06\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]