home / mcp / ossinsight mcp server

OSSInsight MCP Server

An MCP server based on OSSInsight.io, providing data analysis for GitHub individuals and repositories, as well as in-depth insights into the open source ecosystem.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "damonxue-mcp-ossinsight": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "mcp/ossinsight"
      ]
    }
  }
}

You can run the OSSInsight MCP Server to analyze GitHub data and explore open source ecosystems. It provides repository, developer, and organization analysis, plus project comparisons and collections, all accessible through an MCP client.

How to use

You interact with the OSSInsight MCP Server by calling its available tools from your MCP client. You can request repository analysis, developer analysis, or collection data, and you can perform natural language queries to OSSInsight’s data. Use the tools to fetch insights, compare repositories side by side, or browse curated project collections. Each tool returns structured data and includes a link to the OSSInsight page for further exploration.

How to install

Prerequisites: you need either Docker or Node with NPX installed to run the MCP server configuration described here.

{
  "mcpServers": { 
    "ossinsight": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "mcp/ossinsight"
      ]
    }
  }
}

Or run via NPX if you prefer a local, Node-based setup.

{
  "mcpServers": {
    "ossinsight": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-ossinsight"
      ]
    }
  }
}

Additional setup notes

The Docker approach requires Docker to be installed and available on your host. The NPX approach requires Node.js and npm (or pnpm) to be installed so that NPX can execute the MCP server package.

Available tools and usage patterns

- get_repo_analysis: Get detailed analysis of a GitHub repository by providing owner/repo and an optional time period.

Notes on usage flow

Start the server using one of the provided run configurations, then connect your MCP client and call the available tools. Each tool returns analysis data and a link to the OSSInsight page for deeper investigation.

Available tools

get_repo_analysis

Get detailed analysis of a GitHub repository by providing owner/repo and an optional time period.

get_developer_analysis

Get detailed analysis of a GitHub developer by providing the username.

get_collection

Get information about a specific collection of repositories by providing the collection_id.

list_collections

List all available repository collections with optional pagination.

natural_language_query

Direct access to OSSInsight's natural language query interface for asking questions about GitHub data.