Skip to main content
Glama

@hublens/mcp-server

MCP (Model Context Protocol) server for HubLens — 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 so any AI agent can ground its OSS recommendations in fresh, structured, multi-day data.

Install

# Claude Code
claude mcp add hublens -- npx -y @hublens/mcp-server

For Claude Desktop or other clients, add to your MCP config:

{
  "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.

Related MCP server: GitHub Analytics MCP Server

Tools

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)

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 for endpoint details.

License

MIT © HubLens

Available Tools

3 tools
hublens_articleA

Get full details for a specific OSS project article by its slug. Includes summaries, use cases, highlights, and metadata in English and Chinese.

ParametersJSON Schema
NameRequiredDescriptionDefault
slugYesArticle slug (e.g. "facebook-react")

TDQS

A3.7/5.0
Behavior3/5

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.

Conciseness5/5

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.

Completeness3/5

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.

Parameters3/5

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.

Purpose5/5

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.

Usage Guidelines3/5

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 3 tool updatesv0.1.1
    • First observedhublens_article
    • First observedhublens_search
    • First observedhublens_trending

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count3/5

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.

Completeness3/5

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

ActivityInactive
ResponsivenessSyncing

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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
  • A
    license
    B
    quality
    D
    maintenance
    An 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.
    18
    10 npm
    3
    MIT