Lunoo Rankings

com.lunoov1.0.0更新于 Sep 30, 2026

Consensus rankings for 75,000+ products across 2,600+ niches.

已验证Streamable HTTP可网页运行Other

安装

在 SourceWeft 中

  1. 打开 控制台中的 Lunoo Rankings,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "rankings": {
      "type": "http",
      "url": "https://lunoo.com/mcp"
    }
  }
}

README

lunoo-mcp

Public Model Context Protocol (MCP) server for Lunoo, a rankings platform covering more than 231,000 items across more than 2,600 categories on a 0-10 scale.

Ask for rankings in normal language, from anime and laptops to software, travel, books, and thousands of other categories. The server resolves the closest live category, returns scored items with Lunoo links, and refuses unsupported queries instead of inventing a result.

Overview

This is a read-only public proxy over Lunoo's public web API. No authentication required, no database access, no API keys, no cost.

  • Live endpoint: https://lunoo.com/mcp (Streamable HTTP, JSON-RPC 2.0)
  • Transport: Stateless POST over HTTP
  • Caching: Browse page 24h, rankings and items 15 minutes
  • Timeout: 10 seconds per upstream request
  • Coverage: 2,677+ categories and 231,982+ ranked items, verified on 2026-08-21
  • Privacy: No raw prompts, tool arguments, or tool results are stored. See https://lunoo.com/privacy
  • Safety: All three tools are read-only and expose MCP read-only annotations

Security and abuse controls

  • The server listens on 127.0.0.1 by default so a reverse proxy can expose only the intended HTTPS route.
  • Each client is limited to 120 MCP requests per minute.
  • No more than 20 MCP requests and 12 upstream Lunoo requests run at once.
  • JSON bodies are limited to 32 KB, JSON-RPC batches to 20 messages, and tool inputs to documented lengths.
  • The in-memory cache is limited to 256 entries and evicts old keys.
  • User input is encoded into fixed Lunoo paths. It cannot select an arbitrary upstream host.
  • The server does not execute commands, evaluate user code, read local files, or expose environment variables.

Self-hosted deployments should keep the Node port private and expose /mcp through an HTTPS reverse proxy. Do not publish port 8972 directly.

Quick Start

Claude custom connector

Open Claude's connector settings, choose Add custom connector, and enter:

text
Name: Lunoo RankingsURL: https://lunoo.com/mcp

No authentication is required. Test with a request such as Find the best laptop for video editing using Lunoo.

Claude Code

In your project's .claude/settings.json:

json
{  "mcpServers": {    "lunoo": {      "url": "https://lunoo.com/mcp"    }  }}

Or run from any Claude Code session:

bash
claude mcp add --transport http lunoo https://lunoo.com/mcp

Generic HTTP Client

Post JSON-RPC 2.0 requests to https://lunoo.com/mcp. Example:

bash
curl -X POST https://lunoo.com/mcp \  -H 'Content-Type: application/json' \  -d '{    "jsonrpc": "2.0",    "method": "tools/list",    "id": 1  }'

Local Development (self-hosted)

bash
npm installnpm start# Server listens on http://localhost:8972

Health check:

bash
curl http://localhost:8972/healthz# {"ok":true,"service":"lunoo-mcp"}

Tools

find_niche

Resolve a normal-language request to live ranking categories. Returns up to 10 matches with confidence, matched terms, item counts, and tracked Lunoo links.

Input:

json
{  "query": "string - normal-language request, e.g. 'best laptop for video editing'"}

Output: Array of niches with slug, display name, Lunoo URL, and JSON endpoint URL.

Example Request:

json
{  "jsonrpc": "2.0",  "method": "tools/call",  "params": {    "name": "find_niche",    "arguments": { "query": "anime" }  },  "id": 1}

Example Response:

json
{  "jsonrpc": "2.0",  "result": {    "isError": false,    "content": [      {        "type": "text",        "text": "[\n  {\n    \"slug\": \"anime\",\n    \"name\": \"anime\",\n    \"url\": \"https://lunoo.com/best/anime\",\n    \"rankings_json\": \"https://lunoo.com/best/anime.json\"\n  },\n  ...\n]"      }    ]  },  "id": 1}

get_rankings

Fetch ranked items for a category slug or a normal-language request. Returns the resolved category, match explanation, score metadata, and top items.

Input:

json
{  "niche": "string - niche slug, e.g. 'anime'",  "limit": "number? - items to return, 1-50, default 10"}

Output: Niche metadata plus ranked items with rank, name, score (0-10), description, URL, and confidence label.

Example Request:

json
{  "jsonrpc": "2.0",  "method": "tools/call",  "params": {    "name": "get_rankings",    "arguments": { "niche": "anime", "limit": 3 }  },  "id": 2}

Example Response:

json
{  "jsonrpc": "2.0",  "result": {    "isError": false,    "content": [      {        "type": "text",        "text": "{\n  \"name\": \"anime\",\n  \"url\": \"https://lunoo.com/best/anime\",\n  \"item_count\": 1847,\n  \"updated_at\": \"2026-07-02T08:15:00Z\",\n  \"score_scale\": \"0-10\",\n  \"ranking_method\": \"Consensus-based scoring\",\n  \"top_items\": [\n    {\n      \"rank\": 1,\n      \"name\": \"Frieren: Beyond Journey's End\",\n      \"score\": 9.15,\n      \"url\": \"https://lunoo.com/item/frieren-beyond-journeys-end\",\n      \"description\": \"A fantasy adventure about a thousand-year journey...\"\n    },\n    ...\n  ]\n}"      }    ]  },  "id": 2}

get_item

Extract structured metadata (JSON-LD) for an item by slug. Parses all schema.org blocks embedded on the item page.

Input:

json
{  "slug": "string - item slug, e.g. 'frieren-beyond-journeys-end'"}

Output: Item URL and array of parsed JSON-LD objects (BreadcrumbList, AggregateRating, etc.).

Example Request:

json
{  "jsonrpc": "2.0",  "method": "tools/call",  "params": {    "name": "get_item",    "arguments": { "slug": "frieren-beyond-journeys-end" }  },  "id": 3}

Example Response:

json
{  "jsonrpc": "2.0",  "result": {    "isError": false,    "content": [      {        "type": "text",        "text": "{\n  \"url\": \"https://lunoo.com/item/frieren-beyond-journeys-end\",\n  \"structured_data\": [\n    {\n      \"@context\": \"https://schema.org\",\n      \"@type\": \"AggregateRating\",\n      \"ratingValue\": 9.15,\n      \"ratingCount\": 847\n    },\n    ...\n  ]\n}"      }    ]  },  "id": 3}

MCP Initialization

The server implements Model Context Protocol v2025-03-26. Initialize with:

json
{  "jsonrpc": "2.0",  "method": "initialize",  "params": {    "protocolVersion": "2025-03-26",    "capabilities": {},    "clientInfo": {      "name": "my-client",      "version": "1.0.0"    }  },  "id": 0}

Response includes server capabilities, protocol version, and instructions.

Caching Behavior

Results are cached locally in the live service at https://lunoo.com/mcp:

  • Browse page (used by find_niche): 24 hours
  • Rankings JSON (used by get_rankings): 15 minutes
  • Item pages (used by get_item): 15 minutes

When self-hosting, cache is in-memory per server instance and cleared on restart.

Error Handling

On failure (404, timeout, network error), tools return:

json
{  "isError": true,  "content": [    {      "type": "text",      "text": "Niche \"invalid-slug\" not found (404). Try find_niche to discover available niches."    }  ]}

Never throws unhandled exceptions; all errors are JSON-RPC compliant.

Citation

Link to full rankings pages on Lunoo as:

https://lunoo.com/best/{slug}

Example: https://lunoo.com/best/anime

See https://lunoo.com/llms.txt for how to cite Lunoo rankings in LLM outputs.

Self-Hosted Deployment

Prerequisites

Node 18+, npm

Installation

bash
git clone https://github.com/PeakProductivity/lunoo-mcp.gitcd lunoo-mcpnpm install

Running

bash
npm start# or with custom port:PORT=9000 npm start

Production Setup

  1. Use a process manager (PM2, systemd, etc.):
bash
pm2 start server.mjs --name lunoo-mcp
  1. Reverse proxy (nginx):
nginx
location /mcp {  proxy_pass http://localhost:8972;  proxy_set_header Host $host;  proxy_set_header X-Real-IP $remote_addr;}
  1. Monitor cache size and logs periodically.

CORS Policy

The live service accepts browser requests only from the configured Claude origins. Requests from arbitrary browser origins are rejected. Server-side MCP clients without an Origin header are accepted.

Self-hosted instances use the same safe defaults. Override the browser allowlist with the comma-separated MCP_ALLOWED_ORIGINS environment variable when necessary.

API Endpoints

MethodPathDescription
POST/mcpJSON-RPC 2.0 endpoint
GET/healthzHealth check

Support

Found an issue with a ranking? Report it on Lunoo: https://lunoo.com

License

MIT. See LICENSE file.

Links

来源:README.md,提交 b156e7e

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.0最新Sep 16, 2026