开源洞察
STDIO提供GitHub数据分析的MCP服务器
提供GitHub数据分析的MCP服务器
An MCP server based on OSSInsight.io, providing data analysis for GitHub individuals, organizations, and repositories, as well as in-depth insights into the open source ecosystem.
get_repo_analysis
owner_repo
(string): Repository name in the format 'owner/repo'time_period
(optional string): Time range for analysisget_developer_analysis
username
(string): GitHub usernameget_collection
collection_id
(string): Collection ID, e.g., 'open-source-database'list_collections
page
(optional number): Page number, starting from 1per_page
(optional number): Number of results per page, default is 20natural_language_query
query
(string): Natural language query, e.g., 'Which repositories gained the most stars in 2023?'This MCP server uses a dual approach to retrieve data:
https://api.ossinsight.io/v1/
endpointsThis approach ensures maximum coverage of OSSInsight's features while respecting the public API's rate limits (600 requests per hour per IP).
{ "mcpServers": { "ossinsight": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/ossinsight" ] } } }
{ "mcpServers": { "ossinsight": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-ossinsight" ] } } }
Docker build:
docker build -t mcp/ossinsight -f Dockerfile .
// Get analysis data for the VSCode repository
{
"owner_repo": "microsoft/vscode"
}
// Compare React and Vue
{
"repo1": "facebook/react",
"repo2": "vuejs/vue"
}
// Get a link to query data using natural language
{
"query": "Which database projects gained the most stars in 2023?"
}
This MCP server is licensed under the MIT License. This means you can freely use, modify, and distribute this software, subject to the terms and conditions of the MIT License. See the LICENSE file in the project repository for details.
基于 OSSInsight.io 的 MCP 服务器,提供对 GitHub 个人、组织和仓库的数据分析,以及开源生态系统的深入洞察。
get_repo_analysis
owner_repo
(字符串): 仓库名称,格式为 'owner/repo'time_period
(可选字符串): 分析的时间范围get_developer_analysis
username
(字符串): GitHub 用户名get_collection
collection_id
(字符串): 集合 ID,例如 'open-source-database'list_collections
page
(可选数字): 页码,从 1 开始per_page
(可选数字): 每页结果数量,默认为 20natural_language_query
query
(字符串): 自然语言查询,例如 'Which repositories gained the most stars in 2023?'此 MCP 服务器使用双重方法获取数据:
https://api.ossinsight.io/v1/
端点这种方法确保了对 OSSInsight 功能的最大覆盖,同时尊重公共 API 的速率限制(每个 IP 每小时 600 个请求)。
{ "mcpServers": { "ossinsight": { "command": "docker", "args": [ "run", "--rm", "-i", "mcp/ossinsight" ] } } }
{ "mcpServers": { "ossinsight": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-ossinsight" ] } } }
Docker 构建:
docker build -t mcp/ossinsight -f src/ossinsight/Dockerfile .
// 获取 VSCode 仓库的分析数据
{
"owner_repo": "microsoft/vscode"
}
// 比较 React 和 Vue
{
"repo1": "facebook/react",
"repo2": "vuejs/vue"
}
// 获取使用自然语言查询数据的链接
{
"query": "哪些数据库项目在 2023 年获得了最多的星标?"
}
此 MCP 服务器基于 MIT 许可证。这意味着您可以自由使用、修改和分发此软件,但需遵守 MIT 许可证的条款和条件。详情请参阅项目存储库中的 LICENSE 文件。