Repo Context MCP server for exploring and analyzing code repositories

Repo Context MCP server for exploring and analyzing code repositories

repo-context•bypablo-peek

An MCP server that lets you list files, read file contents, and analyze exported TypeScript/JavaScript functions and types from local or GitHub repositories without cloning.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Lists files and folders in a repository, whether local or hosted on GitHub.
  • •Reads the contents of any file with a single command.
  • •Analyzes TypeScript/JavaScript files to extract exported functions and their type information.
  • •Works with private and public repositories, fetching files and metadata from GitHub endpoints without cloning.

BEST FOR

  • •Discovering the exact payload and TypeScript types an API endpoint expects without guessing.
  • •Understanding and documenting codebases while working in VS Code.
  • •Analyzing remote or private repositories without cloning them locally.

ABOUT REPO-CONTEXT

Repo Context MCP server for exploring and analyzing code repositories is cataloged as an MCP server attributed to pablo-peek. An MCP server that lets you list files, read file contents, and analyze exported TypeScript/JavaScript functions and types from local or GitHub repositories without cloning. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Repo Context MCP server for exploring and analyzing code repositories are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can it analyze private GitHub repositories?

Yes, by providing a GitHub username and token in the MCP server configuration environment variables.

Can I choose which repository to analyze?

Yes, the repository to analyze can be set dynamically using the setRepoPath tool.

上游原版 README

在 GitHub 查看同一版本原文

README.md · e7de70ba2bde · 采集于 2026-11-13 11:29:00 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Repo Context MCP 🚀

Explore and analyze any code repository—locally or remotely—directly from VS Code.


🚀 Why Use Repo-context-mcp?

See the difference when working in VS Code without and with this tool:

❌ Without Repo-context-mcp✅ With Repo-context-mcp
🔍 Explore repo structureManually browse files and foldersInstantly list files and folders in any repo
📄 Read file contentsOpen files one by oneRead any file’s content with a single command
🧑‍💻 Analyze codeManually inspect/export functionsGet exported functions and types automatically
🔒 Private/public reposNeed to clone and set up locallyAnalyze local or remote (even private) repos
⚡ GitHub endpointsManual API calls or cloningFetch files and metadata without cloning

✨ Features

  • 📂 List files and folders in any repo (local or GitHub)
  • 📄 Read file contents instantly
  • 🧑‍💻 Analyze exported functions and types from TypeScript/JavaScript files
  • 🔒 Works with private and public repositories
  • ⚡ No need to clone: fetch files and metadata from GitHub endpoints

🛠️ Installation

  1. Install in VS Code

    Open your workspace and run:

    npm install
    
  2. Build the project

    npm run build
    
  3. Start the server in development mode

    npm run start:dev
    

    Or, to run the compiled code:

    npm start
    

🚦 How It Works

With this MCP server, you can:

  • Set the repository path you want to analyze (local or remote)
  • List files and folders
  • Read file contents
  • Analyze TypeScript/JavaScript files to extract exported functions and their type information

All these tools are available directly from VS Code, making it easy to understand and document codebases while you work.


🎯 Example: Instantly Discover What an Endpoint Expects

With Repo Context MCP, you can analyze TypeScript repositories and ask very specific questions about API endpoints—like what object and types you need to send for a successful request.

For example:

“What do I need to send to POST /users/register to create a new user?”

Repo Context MCP will analyze the source code and provide the exact JSON structure and TypeScript types required, including enums and nested objects.
This means you’ll know precisely what to send, without wasting time guessing or searching through documentation.

This is a huge productivity boost for developers:

  • Instantly discover endpoint payloads and types
  • Avoid trial-and-error and failed requests
  • Integrate faster with any backend, even private APIs

If you need concrete examples or want to see the payload for any endpoint, just ask—Repo Context MCP will extract it directly.


🔗 Integration

Register this MCP server as a context provider in your mcp.json:

{
  "servers": {
    "repo-context-mcp": {
      "command": "npx",
      "args": [
        "ts-node",
        "/home/pablo/Apps/repo-context/src/index.ts"
      ],
      "type": "stdio",
      "env": {
        "ENVIRONMENT": "local",
        "GITHUB_TOKEN": "",
        "GITHUB_NAME": ""
      }
    }
  }
}

🔒 Analyzing Private and Local Repositories

  • Local repositories: Set the path using the setRepoPath tool.

  • Private GitHub repositories: Add your GitHub username and token to the environment variables in your MCP server configuration (mcp.json):

    "env": {
      "GITHUB_TOKEN": "<your-github-token>",
      "GITHUB_NAME": "<your-github-username>"
    }
    

    Then, use the tools to fetch and analyze files from the private repo by specifying the repo owner, name, and file path.

Note: For private GitHub repos, provide your GitHub credentials in the configuration. For local repos, simply pass the local path.


📦 Requirements

  • Node.js 18+
  • npm

💡 Notes

  • Dynamically set the repository to analyze using the setRepoPath tool.
  • The server exposes tools for file exploration and type analysis, making it ideal for code understanding and documentation.
  • You can fetch files and metadata from GitHub endpoints without cloning

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Repo Context MCP server for exploring and analyzing code repositories from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/repo-context)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools