Repository Analyzer

Provides tooling to analyze code repositories, search code, view history, and inspect files, with Nostr-focused capabilities.
  • typescript

2

GitHub Stars

typescript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "docnr-repo-analyzer-mcp": {
      "command": "node",
      "args": [
        "/absolute/path/to/repo-analyzer-mcp/dist/index.js"
      ],
      "env": {
        "NODE_ENV": "production",
        "DEFAULT_REPO_PATH": "/path/to/default/repository"
      }
    }
  }
}

You run a Repository Analyzer MCP Server to inspect code repositories, with specialized support for Nostr-related projects. It provides practical insights into code structure, dependencies, history, and file contents, and lets you interact with multiple repositories from a single MCP client.

How to use

Use an MCP client to connect to the Repository Analyzer server to perform repository analyses, search code, view git history, and inspect file contents. You can point to a default repository path or override it per command. The server supports both general repository analysis and specialized analyses for Nostr-Development-Kit (NDK) and Nostr Protocol-related work.

How to install

Prerequisites: Node.js and npm must be available on your system. Ensure you have a suitable environment for running MCP servers and that you can edit your client configuration.

# 1) Clone the project
git clone <repository-url-for-repo-analyzer-mcp>

# 2) Install dependencies
npm install

# 3) Build the project
npm run build

Additional notes

Configuration and runtime details are provided to help you connect the MCP server to your client and to set sensible defaults for repository access. The server can be run locally and can be connected to from an MCP client via a stdio-based command that launches the server process.

Available tools

analyze-code

Analyzes code files with focus options such as structure, components, dependencies, and recent changes.

search-code

Searches repository code with pattern matching and optional file filtering.

git-history

Retrieves git commit history for the repository or a specific file.

analyze-ndk

Analyzes Nostr Development Kit repositories with options for implementation details and migrations.

analyze-ndk-files

Explores the NDK file structure focusing on overview, components, API, and architecture.

analyze-nostr-protocol

Analyzes Nostr protocol repositories with focus on events and implementations.

analyze-repo

Provides a general repository analysis covering overview, components, api, architecture, and implementation.

file-dir-resources

Access repository content and directory listings via file:// and dir:// endpoints.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational