MCP server wrapping the OSSInsight REST API — GitHub repo analytics, collections, trending, search, compare, rankings
Project description
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
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ossinsight_mcp-0.2.0.tar.gz.
File metadata
- Download URL: ossinsight_mcp-0.2.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960f79dccd4b0f9bf0213a44b022b33549fa4a0706ec9a0fa3dc3e9ffd22ace2
|
|
| MD5 |
fa007b45d0049abdc4f71ef271c9a119
|
|
| BLAKE2b-256 |
6d794c009d142dfd26481e253aaad2df49dc6908583c5889b86332f3af13127a
|
File details
Details for the file ossinsight_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ossinsight_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7cfb68214813858c49144aa3d754ba48b882efb37a2d41cacddc52277f30884
|
|
| MD5 |
8416a4b7136aa95db0ca98dbe970237c
|
|
| BLAKE2b-256 |
ab9213adf1aedb814b94cb1210f10f367f94ce1cd4202c1808c4f7f0c02acf85
|