OSSInsight MCP Server
You can query GitHub repository analytics and insights from OSSInsight with the following tools:
ossinsight_repo: Fetch metadata (stars, forks, language, license, description) for a specific GitHub repository.ossinsight_trending: Discover trending repositories by language and timeframe (past 24 hours, week, month, or 3 months).ossinsight_collections: List all 102 curated collections.ossinsight_search: Search repositories and collections by keyword with pagination and sorting.ossinsight_compare: Compare two repositories side-by-side.ossinsight_ranking: Rank repositories in a collection by stars, issues, or PRs over a chosen time range.
No API key is required, and the API allows 600 requests per hour per IP.
Provides access to GitHub repository analytics including metadata, trending repositories, curated collections, search, comparison, and rankings.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OSSInsight MCP Server what are the trending Python repos this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OSSInsight MCP Server
A Model Context Protocol (MCP) server for querying GitHub repository analytics from OSSInsight (by PingCAP). Provides repo metadata, trending repos, curated collections, search, compare, and collection rankings — no API key required.
Features
ossinsight_repo— GitHub repo metadata: stars, forks, language, license, descriptionossinsight_trending— Trending repos by language and timeframeossinsight_collections— List all 102 curated collectionsossinsight_search— Search repos and collections by keywordossinsight_compare— Side-by-side comparison of two reposossinsight_ranking— Rank repos in a collection by stars, issues, or PRs
Related MCP server: CodeCompass MCP
Installation
uv (recommended)
uvx ossinsight-mcppip
pip install ossinsight-mcp
ossinsight-mcpConfiguration
Claude Desktop
{
"mcpServers": {
"ossinsight-mcp": {
"command": "uvx",
"args": ["ossinsight-mcp"]
}
}
}Cursor / VS Code
{
"mcpServers": {
"ossinsight-mcp": {
"command": "uvx",
"args": ["ossinsight-mcp"]
}
}
}Tools
Tool | Description | Key Params |
| Repo metadata — stars, forks, language, license |
|
| Trending repos by language/timeframe |
|
| List all curated collections | (none) |
| Search repos and collections |
|
| Compare two repos side-by-side |
|
| Rank repos in a collection |
|
Examples
# Get repo metadata
ossinsight_repo({"owner": "grafana", "repo": "grafana"})
# → stars: 76K, forks: 14K, language: TypeScript, license: AGPL-3.0
# What's trending in Rust this month
ossinsight_trending({"language": "rust", "period": "past_month"})
# List all collections
ossinsight_collections({})
# Compare two databases
ossinsight_compare({"repo1": "postgres/postgres", "repo2": "clickhouse/clickhouse"})
# Top repos in the AI/ML collection by stars this year
ossinsight_ranking({"collection_id": 12, "metric": "stars", "range": "year"})Data Source
Uses the OSSInsight API (/api/mcp).
Auth: None required
Rate limit: 600 requests per hour per IP
Data: GH Archive (all public GitHub events since 2011)
Development
git clone https://github.com/GeniusTechnoMystic/ossinsight-mcp.git
cd ossinsight-mcp
uv sync
uv run ossinsight-mcpRelated Projects
Other OSSInsight MCP servers in the ecosystem:
Project | Language | Tools | Tests | Install | Differentiator |
Python | 5 | None |
| Developer analysis, natural language query, web scraping fallback | |
Python | 4 | None | git clone | Stargazer/issue/PR creator demographics, generic request tool | |
This one (ours) | Python | 6 | 28 tests |
| Collections, search, compare, ranking, PyPI-published |
Our differentiators
Broadest open-source tool set — 6 tools covering repo metadata, trending, collections, search, compare, and ranking. The only open-source server with dedicated tools for collections, search, and compare.
Test coverage — 28 tests with mocked HTTP (respx). No competitor has tests.
PyPI publication — install with
uvx ossinsight-mcporpip install ossinsight-mcp. No npm, no Docker, no build step.Ranking flexibility —
ossinsight_rankingsupports stars, issues, or PRs across day/week/month/year ranges.
When to use the alternatives
damonxue/mcp-ossinsight — if you need developer contribution analysis, natural language queries, or web scraping for repos with <25 stars.
gztchan/ossinsight-mcp — if you need stargazer/issue/PR creator demographics (countries, history) or a generic forward-compatible request tool.
Scope note
None of the open-source OSSInsight MCP servers fully wrap the OSSInsight Public API v1beta. A hosted 18-tool OSSInsight MCP server exists on mcpbundles.com covering issue creator, PR creator, and stargazer demographics (countries, history, orgs) — but it's not open source.
License
MIT
Available Tools
6 toolsossinsight_collectionsB
List all curated collections.
Inputs: no named parameters.
ossinsight_compareB
Compare two GitHub repositories side-by-side.
Inputs: repo1 (required), repo2 (required).
ossinsight_rankingB
Rank repositories in a collection by stars/issues/PRs over a time range.
Inputs: collection_id (required), range, metric.
ossinsight_repoA
Get GitHub repository metadata: stars, forks, language, license, description.
Inputs: repo (required), owner (required).
ossinsight_searchC
Search GitHub repos and collections.
Inputs: q (required), page, sort, page_size.
ossinsight_trendingB
Get trending GitHub repos by language and timeframe.
Inputs: period, language.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect of GitHub insights: collections listing, repo comparison, ranking within collections, repo metadata, trending repos, and search. There is no significant overlap in their primary functions, making them easy to distinguish.
All tools share the consistent 'ossinsight_' prefix, but the suffixes mix nouns (collections, ranking, repo, trending) with verbs (compare, search), creating an inconsistent pattern. A uniform verb_noun structure would improve predictability.
With six tools, the server is well-scoped for its purpose of providing GitHub repository insights. Each tool fills a necessary role without unnecessary bloat, falling comfortably within the ideal range.
The tool set covers core workflows: discovery (search/trending), metadata retrieval (repo), comparison (compare), and curated collections (collections/ranking). Minor gaps exist, such as a dedicated tool to view collection details directly, but these are workable through existing tools.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that gives your AI access to the source code and docs of all public github repos
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to access tools through GitHub authentication and provides comprehensive analytics tracking of tool usage, performance, and user behavior.3-
- AlicenseAqualityDmaintenanceAn enterprise-grade Model Context Protocol server that provides comprehensive GitHub repository analysis and AI-powered development assistance through 11 streamlined tools.112MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the OSS Insight Public API for GitHub repository analytics. It enables querying trending repositories, contributor statistics, and collection rankings through various tools.183MIT
- AlicenseDqualityDmaintenanceA lightweight MCP server for bringing GitHub repositories into context for large language models, enabling repository analysis, file access, and search without local cloning.47 npm6Apache 2.0