HubLens MCP Server
# @hublens/mcp-server
MCP (Model Context Protocol) server for [HubLens](https://hublens.dev) — query trending open-source projects and AI-generated summaries from Claude, Cursor, and other MCP-compatible AI tools.
HubLens automatically detects trending OSS on GitHub and Hacker News daily, then generates EN/ZH summaries, categories, and scoring via Vertex AI (Gemini). This MCP server wraps the [HubLens Public REST API](https://hublens.dev/en/api) so any AI agent can ground its OSS recommendations in fresh, structured, multi-day data.
## Install
```bash
# Claude Code
claude mcp add hublens -- npx -y @hublens/mcp-server
```
For Claude Desktop or other clients, add to your MCP config:
```json
{
"mcpServers": {
"hublens": {
"command": "npx",
"args": ["-y", "@hublens/mcp-server"]
}
}
}
```
No API key required. The server calls public, cached endpoints rate-limited to 60 req/hr per IP.
## Tools
### `hublens_trending`
Today's trending OSS projects ranked by the HubLens score.
| Parameter | Type | Default | Description |
|---|---|---|---|
| `limit` | number (1–50) | 10 | Number of results |
| `category` | string | — | Filter by category (e.g. `AI`, `DevTools`) |
| `source` | string | — | Filter by source (`github` or `hn`) |
### `hublens_search`
Search the full HubLens archive of every tracked OSS.
| Parameter | Type | Default | Description |
|---|---|---|---|
| `q` | string | — | Text search on slug / title |
| `limit` | number (1–100) | 20 | Results per page |
| `offset` | number | 0 | Pagination offset |
| `category` | string | — | Category filter |
| `source` | string | — | Source filter |
### `hublens_article`
Fetch full article details (EN + ZH summaries, use cases, highlights, tags, stars, category, score) by slug.
| Parameter | Type | Description |
|---|---|---|
| `slug` | string | Project slug, e.g. `facebook-react` |
## Example prompts
- "What AI OSS projects are trending today?" → `hublens_trending(category: "AI")`
- "Find me Rust-based vector databases tracked by HubLens." → `hublens_search(q: "vector")`
- "Summarize the HubLens writeup for langchain." → `hublens_article(slug: "langchain-ai-langchain")`
## Data source
This server is a thin wrapper around the HubLens REST API (`https://hublens.dev/api/v1/*`). No local state, no credentials. See the [API spec](https://hublens.dev/en/api) for endpoint details.
## License
MIT © HubLens
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: hublens_article retrieves detailed information for a specific article, hublens_search performs broad filtering and text-based searches across the archive, and hublens_trending provides ranked trending projects. There is no overlap in functionality, making tool selection straightforward for an agent.
All tool names follow a consistent verb_noun pattern with the prefix 'hublens_' followed by a descriptive action (article, search, trending). This uniformity enhances readability and predictability, with no deviations in style or convention.
With only 3 tools, the server feels slightly thin for a comprehensive OSS project analysis domain, as it lacks operations like creating, updating, or deleting content. However, the tools cover core retrieval and search functions adequately for a basic service.
The tools provide good coverage for reading and searching OSS project data, but there are notable gaps in CRUD operations (e.g., no create, update, or delete tools) and limited analytical functions beyond trending. This may restrict agents from performing full lifecycle management tasks.