OSSInsight MCP Server
A Model Context Protocol (MCP) server for querying GitHub repository analytics from OSSInsight, providing repo metadata, trending repos, curated collections, search, compare, and collection rankings without an API key.
README
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
Installation
uv (recommended)
uvx ossinsight-mcp
pip
pip install ossinsight-mcp
ossinsight-mcp
Configuration
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 |
|---|---|---|
ossinsight_repo |
Repo metadata — stars, forks, language, license | owner, repo (required) |
ossinsight_trending |
Trending repos by language/timeframe | language, period (past_24h/past_week/past_month/past_3mo) |
ossinsight_collections |
List all curated collections | (none) |
ossinsight_search |
Search repos and collections | q (required), page, page_size, sort |
ossinsight_compare |
Compare two repos side-by-side | repo1, repo2 (required) |
ossinsight_ranking |
Rank repos in a collection | collection_id (required), metric, range |
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-mcp
Related Projects
Other OSSInsight MCP servers in the ecosystem:
| Project | Language | Tools | Tests | Install | Differentiator |
|---|---|---|---|---|---|
| damonxue/mcp-ossinsight | Python | 5 | None | npx / Docker |
Developer analysis, natural language query, web scraping fallback |
| gztchan/ossinsight-mcp | Python | 4 | None | git clone | Stargazer/issue/PR creator demographics, generic request tool |
| This one (ours) | Python | 6 | 28 tests | uvx / pip install |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.