ossinsight-mcp
# ossinsight-mcp
An MCP server (stdio) for the OSS Insight Public API.
## Prerequisites
- Node.js 20+
## Install
```bash
pnpm install
```
## Run
```bash
pnpm dev
```
Build bundle and start:
```bash
pnpm build
pnpm start
```
## From npm (recommended)
```bash
npm i -g ossinsight-mcp
```
Run:
```bash
ossinsight-mcp
```
Or via `npx`:
```bash
npx -y ossinsight-mcp
```
## Configuration
Add this server to your MCP config:
```json
{
"mcpServers": {
"ossinsight": {
"command": "npx",
"args": ["-y", "ossinsight-mcp"]
}
}
}
```
## Included MCP tools
- `list_collections`
- `list_hot_collections`
- `collection_ranking_by_issues`
- `collection_ranking_by_prs`
- `collection_ranking_by_stars`
- `list_collection_repositories`
- `list_trending_repos`
- `list_issue_creators`
- `issue_creators_countries`
- `repo_issue_creators_history`
- `list_pull_request_creators`
- `pull_request_creators_countries`
- `pull_request_creators_history`
- `pull_request_creators_organizations`
- `repo_stargazers_countries`
- `repo_stargazers_history`
- `repo_stargazers_organizations`
- `ossinsight_request` (generic GET endpoint wrapper)
## API reference
- Docs: https://ossinsight.io/docs/api
- Base URL: `https://api.ossinsight.io/v1`
- Public beta auth: no auth required (rate limited)
## Notes
- This server currently calls GET endpoints only.
- The `ossinsight_request` tool helps you quickly use new endpoints without code changes.
TDQS
Scored across 18 tools
Every tool has a clearly distinct purpose targeting specific data types and metrics (e.g., rankings by issues vs. PRs vs. stars, creators vs. stargazers, history vs. current lists). The descriptions precisely differentiate overlapping concepts like 'list_issue_creators' (current) vs. 'repo_issue_creators_history' (historical), eliminating ambiguity.
All tools follow a consistent snake_case pattern with clear, descriptive naming conventions. Tools are logically grouped by prefix (e.g., 'collection_', 'repo_', 'issue_', 'pull_request_') and use consistent verbs like 'list', 'rank', or 'get' appropriately, making the set highly predictable and readable.
With 18 tools, the count is slightly high but reasonable for the domain of OSS Insight analytics, which involves multiple metrics (issues, PRs, stars) across different entities (collections, repos, creators). Most tools earn their place, though a few like 'ossinsight_request' might overlap with others, slightly reducing efficiency.
The tool set provides comprehensive coverage for analyzing OSS data, including rankings, historical trends, creator demographics (countries, organizations), and repository listings. It supports full lifecycle analysis from current states to historical data, with no obvious gaps for the server's purpose of OSS insight and analytics.