HubLens MCP Server
@hublens/mcp-server
HubLens 的 MCP (Model Context Protocol) 服务器 — 可在 Claude、Cursor 及其他兼容 MCP 的 AI 工具中查询热门开源项目和 AI 生成的摘要。
HubLens 每天自动检测 GitHub 和 Hacker News 上的热门开源项目,并通过 Vertex AI (Gemini) 生成中英文摘要、分类和评分。此 MCP 服务器封装了 HubLens 公共 REST API,使任何 AI 代理都能基于最新的、结构化的多日数据提供开源项目推荐。
安装
# Claude Code
claude mcp add hublens -- npx -y @hublens/mcp-server对于 Claude Desktop 或其他客户端,请添加到您的 MCP 配置文件中:
{
"mcpServers": {
"hublens": {
"command": "npx",
"args": ["-y", "@hublens/mcp-server"]
}
}
}无需 API 密钥。服务器调用公共缓存端点,每个 IP 每小时限流 60 次请求。
Related MCP server: GitHub Analytics MCP Server
工具
hublens_trending
按 HubLens 评分排名的今日热门开源项目。
参数 | 类型 | 默认值 | 描述 |
| number (1–50) | 10 | 结果数量 |
| string | — | 按类别筛选 (例如 |
| string | — | 按来源筛选 ( |
hublens_search
搜索 HubLens 跟踪的所有开源项目存档。
参数 | 类型 | 默认值 | 描述 |
| string | — | 对 slug / 标题进行文本搜索 |
| number (1–100) | 20 | 每页结果数 |
| number | 0 | 分页偏移量 |
| string | — | 类别筛选 |
| string | — | 来源筛选 |
hublens_article
通过 slug 获取完整的文章详情(中英文摘要、用例、亮点、标签、星标、类别、评分)。
参数 | 类型 | 描述 |
| string | 项目 slug,例如 |
示例提示词
“今天有哪些热门的 AI 开源项目?” →
hublens_trending(category: "AI")“帮我查找 HubLens 跟踪的基于 Rust 的向量数据库。” →
hublens_search(q: "vector")“总结一下 HubLens 关于 langchain 的文章。” →
hublens_article(slug: "langchain-ai-langchain")
数据来源
此服务器是 HubLens REST API (https://hublens.dev/api/v1/*) 的轻量级封装。无本地状态,无需凭据。有关端点详情,请参阅 API 文档。
许可证
MIT © HubLens
Available Tools
3 toolshublens_articleA
Get full details for a specific OSS project article by its slug. Includes summaries, use cases, highlights, and metadata in English and Chinese.
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Article slug (e.g. "facebook-react") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses that the tool retrieves details (implying read-only behavior) and includes multilingual content, but it does not mention potential limitations like rate limits, authentication needs, error handling, or response format. The description adds some context but lacks comprehensive behavioral traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that efficiently conveys the tool's purpose, scope, and included content without unnecessary words. It is front-loaded with the core action and resource, making it easy for an agent to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no annotations, no output schema), the description is adequate but has gaps. It covers what the tool does and what content to expect, but without annotations or output schema, it lacks details on behavioral aspects like error cases or response structure. The description is complete enough for basic use but could be more informative.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'slug' parameter fully documented. The description adds minimal value beyond the schema by specifying the content returned (e.g., summaries, metadata in English and Chinese), but it does not provide additional details about parameter usage or constraints. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Get full details') and resource ('specific OSS project article'), specifying the scope ('by its slug') and content included ('summaries, use cases, highlights, and metadata in English and Chinese'). It distinguishes from sibling tools hublens_search and hublens_trending by focusing on retrieving details for a specific article rather than searching or listing trending content.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when you need detailed information about a known article slug, but it does not explicitly state when to use this tool versus alternatives like hublens_search or hublens_trending. No exclusions or prerequisites are mentioned, leaving the agent to infer context from the tool name and description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hublens_searchB
Search the HubLens archive of all historically tracked OSS projects. Supports filtering by category, source, and text search.
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Search query (matches slug and title) | |
| limit | No | Number of results (max 100) | |
| offset | No | Skip N results for pagination | |
| category | No | Filter by category | |
| source | No | Filter by source |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions filtering and text search but fails to describe key behaviors such as pagination handling (implied by 'offset' parameter), rate limits, authentication needs, or what the search returns (e.g., list of projects with fields). This leaves significant gaps for an agent to understand operational traits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the core purpose ('Search the HubLens archive...') and succinctly adds filtering details. There is no wasted text, making it highly concise and well-structured for quick comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of a search tool with 5 parameters, no annotations, and no output schema, the description is incomplete. It doesn't explain the return format (e.g., what fields are included in results), error handling, or behavioral constraints like rate limits. This leaves the agent with insufficient context to use the tool effectively beyond basic parameter passing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with each parameter clearly documented in the schema (e.g., 'q' matches slug and title, 'limit' has max 100). The description adds minimal value beyond this, only listing the filter types ('category, source, and text search') without explaining semantics like what categories or sources are available. Baseline 3 is appropriate as the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('Search') and resource ('HubLens archive of all historically tracked OSS projects'), making the purpose specific and understandable. However, it doesn't explicitly differentiate from sibling tools like 'hublens_article' or 'hublens_trending', which likely have different functions (e.g., retrieving specific articles or trending projects).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for searching with filtering capabilities ('Supports filtering by category, source, and text search'), but provides no explicit guidance on when to use this tool versus alternatives like the sibling tools. It lacks context on exclusions or prerequisites, leaving the agent to infer usage based on the search functionality.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
hublens_trendingA
Get today's trending open-source projects from HubLens. Returns ranked projects with scores, stars, categories, and AI-generated summaries.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (max 50) | |
| category | No | Filter by category (e.g. "AI", "DevTools") | |
| source | No | Filter by source ("github" or "hn") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It effectively describes the core behavior (returns ranked trending projects with specific data fields) and implies read-only operation through 'Get', but doesn't address important aspects like rate limits, authentication requirements, data freshness, or error conditions. It provides basic functional context but lacks operational details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is perfectly concise - a single sentence that efficiently communicates the tool's purpose and return value. Every word earns its place, with no redundant information. It's front-loaded with the core functionality and follows with useful details about the response format.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only tool with 3 optional parameters and no output schema, the description provides adequate functional context but lacks operational details. It explains what the tool does and what data it returns, but doesn't address authentication, rate limits, error handling, or data freshness. Given the absence of annotations and output schema, a more complete description would help the agent understand operational constraints.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already fully documents all three parameters (limit, category, source). The description adds no additional parameter information beyond what's in the schema. According to scoring rules, when schema coverage is high (>80%), the baseline is 3 even with no param info in description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('Get today's trending open-source projects'), identifies the resource ('from HubLens'), and distinguishes from siblings by focusing on trending projects rather than articles or general search. It provides concrete details about what's returned (ranked projects with scores, stars, categories, AI-generated summaries).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus the sibling tools (hublens_article, hublens_search). It doesn't mention alternatives, prerequisites, or specific contexts where this tool is preferred over others. The user must infer usage from the tool name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.1- First observed
hublens_article - First observed
hublens_search - First observed
hublens_trending
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.
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
CompanyLens is a remote MCP server giving AI agents instant access to official company registry data across 19 jurisdictions in Europe, the Americas, and Asia-Pacific. Eighteen read-only tools let you search companies and people, look up officers and beneficial owners, map corporate networks through shared directors, screen names against the UK disqualified directors register, find every company at a registered address, and pull filing history — all from a single connector. Visit our website: https://companylens.io
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides access to GitHub trending projects through MCP, allowing AI assistants to query popular repositories filtered by language and time range (daily/weekly/monthly).-
- AlicenseNot gradedqualityDmaintenanceEnables querying and analysis of public GitHub repositories for statistics, contributor data, and commit history. It provides both a RESTful API and an MCP interface for seamless integration with AI agents.MIT
- AlicenseBqualityDmaintenanceAn MCP server that provides access to the OSS Insight Public API for GitHub repository analytics. It enables querying trending repositories, contributor statistics, and collection rankings through various tools.1810 npm3MIT
- AlicenseAqualityCmaintenanceMCP server for Hacker News that enables AI agents to search stories, read comments, and track tech trends via the public Hacker News API and Algolia HN Search.107 npm4MIT