OpenDigger MCP Server

OpenDigger MCP Server

open-digger-mcp-server•byx-lab2017

A Model Context Protocol server for OpenDigger that offers repository analytics tools and prompts.

License: Apache-2.0 License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes six tools for single-metric fetches, batch metric operations, repository comparisons, trend analysis, ecosystem insights and server health diagnostics.
  • •Provides three prompts for repository health reports, competitive repository analysis and developer contribution analysis.
  • •Supports metrics such as openrank, stars, forks, contributors, bus factor, releases, maintainer count and code change lines.
  • •Can run as a stdio server with optional SSE server configuration and caching.

BEST FOR

  • •Comparing analytics of multiple repositories to assess relative activity and growth.
  • •Generating repository health reports from OpenDigger metrics.
  • •Analyzing contributor growth trends over a chosen time period.

ABOUT OPEN-DIGGER-MCP-SERVER

OpenDigger MCP Server is cataloged as an MCP server attributed to x-lab2017. A Model Context Protocol server for OpenDigger that offers repository analytics tools and prompts. 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: Apache-2.0 License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

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 OpenDigger MCP Server 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

What metrics can be retrieved?

The server covers core metrics such as openrank, stars, forks, contributors and activity, plus extended metrics including bus_factor, releases, maintainer_count and several additional commit, issue and pull request metrics.

How many tools and prompts does the server provide?

The server offers six tools and three prompts.

Upstream README

View this exact version on GitHub

README.md · b06069f8b324 · Fetched 2026-11-13 10:17:54 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OpenDigger MCP Server

A Model Context Protocol (MCP) server for OpenDigger enabling advanced repository analytics and insights through tools and prompts.

Quick Start

# Setup
git clone https://github.com/X-lab2017/open-digger-mcp-server.git

# (Optional) Ensure you're on the master branch
git checkout master

cd open-digger-mcp-server && cd mcp-server
npm install
npm run build

# Start server
npm start

[!IMPORTANT]
Don't forget to configure Cursor (update path in .cursor/mcp.json)

Expected output:

OpenDigger MCP Server running (on stdio)...

[!IMPORTANT]
If you are using Cursor AI IDE, you should see the MCP server (open-digger-mcp) toast in the bottom-left corner. You should enable it, & now you can start using the tools and prompts provided by the MCP server. To verify, open Cursor Settings and check the MCP Servers section → you should see open-digger-mcp listed there.

opendigger-mcp-img

To further confirm that the server is functioning correctly, you can check the following indicators in Cursor:

  • ✅ Green dot next to "open-digger-mcp" title
  • ✅ "6 tools" displayed in server status
  • ✅ "3 prompts" displayed in server status
  • ✅ No error messages or red indicators

demo-mcp-opendigger

[!TIP] Please refer to Installation.md for detailed installation instructions and configuration options for different IDEs.


Features

Tools (6 Available)

No.ToolDescription
1get_open_digger_metricFetch single repository metrics
2get_open_digger_metrics_batchBatch operations for multiple metrics
3compare_repositoriesMulti-repository comparative analysis
4analyze_trendsGrowth trend analysis over time periods
5get_ecosystem_insightsEcosystem analytics & insights
6server_healthSystem diagnostics and health monitoring (Beta)

Prompts (3 Available)

  1. repo_health_analysis - Comprehensive repository health reports
  2. repo_comparison - Competitive repository analysis
  3. developer_insights - Developer activity and contribution analysis

Metrics

  • Core Metrics: openrank, stars, forks, contributors, participants, issues_new, issues_closed, pull_requests, commits, activity

  • Extended Metrics: technical_fork, bus_factor, releases, inactive_contributors, maintainer_count, community_activity

  • Additional Metrics: change_requests, pull_requests_accepted, pull_requests_merged, issue_comments, issue_response_time, code_change_lines, developer_network


💡 Usage Examples

💠 Repository Comparison

Compare microsoft/vscode and facebook/react using the compare_repositories tool

💠 Health Analysis

Generate a health report for microsoft/vscode using the repo_health_analysis prompt

💠 Trend Analysis

Analyze the growth trends for contributors in microsoft/vscode over 2 years


Server Status Check

After starting the server, verify it's working:

# In a new terminal
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/index.js

Expected response should list all 6 tools.


Configuration

Environment Variables (.env)

# Cache configuration (recommended)
CACHE_TTL_SECONDS=300

# Optional SSE server
SSE_PORT=3001
SSE_HOST=127.0.0.1

Cursor MCP (.cursor/mcp.json)

{
  "mcpServers": {
    "open-digger": {
      "command": "node",
      "args": ["/full/path/to/dist/index.js"],
      "cwd": "/full/path/to/project",
      "env": {
        "CACHE_TTL_SECONDS": "300"
      }
    }
  }
}

[!TIP] Replace /full/path/to/open-digger-mcp-server with your actual project directory path. Use pwd to get the current directory path.

Development

npm run watch           # Development mode
npm run build           # Compile TypeScript
npm run clean           # Clean build files
npm run sse:test        # Test SSE server

[!TIP] Beside Cursor, you can also use other MCP clients like VS Code, Claude Chat, or the official MCP Inspector.

Troubleshooting

Common Issues

Server not appearing in Cursor:

  1. Verify absolute paths in .cursor/mcp.json
  2. Restart Cursor completely (Cmd+Q / Alt+F4)
  3. Check MCP Settings section for error messages

Permission errors:

chmod +x dist/index.js

Build errors:

npm run clean
npm install
npm run build

Cache issues:

# Clear npm cache
npm cache clean --force

# Rebuild
npm run clean && npm run build

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

Apache-2.0 License - see LICENSE file for details.

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 OpenDigger MCP Server 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/open-digger-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

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

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

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