原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Neuronsearchlab MCP

作者:NeuronSearchLab版本 2.0.0i★ –i电脑或云端
注册名称com.neuronsearchlab/mcp

安装

概览

作者提供的说明(英文原文)

Recommendations, search, catalogue, analytics, and platform admin tools for NeuronSearchLab

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 营销与社交媒体
  • 你需要填写:NSL_CLIENT_ID, NSL_CLIENT_SECRET, NSL_API_KEY, Authorization

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:3 项中通过 3 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: NSL_CLIENT_ID, NSL_CLIENT_SECRET, NSL_PLATFORM_MODE, NSL_API_KEY, Authorization

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "neuronsearchlab": {
      "command": "npx",
      "args": [
        "-y",
        "@neuronsearchlab/mcp"
      ],
      "env": {
        "NSL_CLIENT_ID": "your-value",
        "NSL_CLIENT_SECRET": "your-value",
        "NSL_PLATFORM_MODE": "your-value",
        "NSL_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http neuronsearchlab https://console.neuronsearchlab.com/api/mcp --header 'Authorization: your-value'

或者在你的电脑上运行

claude mcp add neuronsearchlab --env NSL_CLIENT_ID=your-value --env NSL_CLIENT_SECRET=your-value --env NSL_PLATFORM_MODE=your-value --env NSL_API_KEY=your-value -- npx -y @neuronsearchlab/mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "neuronsearchlab": {
      "url": "https://console.neuronsearchlab.com/api/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "neuronsearchlab": {
      "command": "npx",
      "args": [
        "-y",
        "@neuronsearchlab/mcp"
      ],
      "env": {
        "NSL_CLIENT_ID": "your-value",
        "NSL_CLIENT_SECRET": "your-value",
        "NSL_PLATFORM_MODE": "your-value",
        "NSL_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "neuronsearchlab": {
      "type": "http",
      "url": "https://console.neuronsearchlab.com/api/mcp",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "neuronsearchlab": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@neuronsearchlab/mcp"
      ],
      "env": {
        "NSL_CLIENT_ID": "your-value",
        "NSL_CLIENT_SECRET": "your-value",
        "NSL_PLATFORM_MODE": "your-value",
        "NSL_API_KEY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • NSL_CLIENT_ID 机密 env
    OAuth client ID for public mode (SDK Credentials from console → Security).
  • NSL_CLIENT_SECRET 机密 env
    OAuth client secret for public mode.
  • NSL_PLATFORM_MODE env
    Set to 'internal' for admin-platform tools with an API key; defaults to 'public'.
  • NSL_API_KEY 机密 env
    NSL API key (nsl_...) for internal mode.
  • Authorization 机密 HTTP header
    Bearer . Optional — the endpoint also supports OAuth sign-in via discovery.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过域名 neuronsearchlab.com 验证(注册中心会核实域名所有权)

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 172 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2985 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2985 个服务器的 89% 更新
  • 基础检查结果等于或优于此分类中其他 2985 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Neuronsearchlab MCP 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:NSL_CLIENT_ID, NSL_CLIENT_SECRET, NSL_API_KEY, Authorization

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.0.0)于3天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT10天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@neuronsearchlab/mcp

MCP (Model Context Protocol) server for NeuronSearchLab. Gives any MCP-compatible AI client (Claude, Codex, Cursor, Windsurf, etc.) direct access to NeuronSearchLab recommendations, product/content search, catalogue operations, analytics, and platform controls.

"Get 5 recommendations for user alice@example.com"

"Check my current plan and show which resources are over their limits" "Create a new context called Twitter Feed" "Add a pin rule so Nike items always appear in the top 3" "Why did item prod-456 rank first for bob?"

Two ways to run it:

  • Hosted (recommended, no install): https://console.neuronsearchlab.com/api/mcp — Streamable HTTP with OAuth sign-in or an NSL API key. Listed on the MCP Registry as com.neuronsearchlab/mcp (search neuronsearchlab in the registry API or directory).
  • Local stdio via npm: npx -y @neuronsearchlab/mcp in two modes — public (recommendations, events, catalogue via OAuth client credentials) or internal (admin platform via console API key).

Connect to the hosted server (no install)

The hosted endpoint runs a submission-safe customer administration profile. It includes first-class tools for plan and usage visibility, ranking configuration, experiments, training, analytics, catalogue inspection, API-key inventory and revocation, integrations, and event types. Every hosted tool declares its OAuth requirement and requires the authenticated team's admin scope. Credential creation, billing mutations, and the arbitrary platform API fallback remain available only to trusted local/internal clients so secrets, purchases, and unbounded API calls are not exposed in ChatGPT. Keys minted through OAuth consent appear in console → Security and can be revoked there anytime.

claude.ai / Claude Desktop — Settings → Connectors → Add custom connector → paste https://console.neuronsearchlab.com/api/mcp → Connect, then sign in to your NeuronSearchLab console and approve the scopes.

Claude Code

# OAuth (browser sign-in):

claude mcp add --transport http neuronsearchlab https://console.neuronsearchlab.com/api/mcp

…or with an API key:

claude mcp add --transport http neuronsearchlab https://console.neuronsearchlab.com/api/mcp \ --header "Authorization: Bearer nsl_your_key"

OpenAI Codex — in ~/.codex/config.toml:

[mcp_servers.neuronsearchlab]

url = "https://console.neuronsearchlab.com/api/mcp" bearer_token_env_var = "NSL_API_KEY"

Cursor / Windsurf / other Streamable HTTP clients

{

"mcpServers": { "neuronsearchlab": { "url": "https://console.neuronsearchlab.com/api/mcp", "headers": { "Authorization": "Bearer nsl_your_key" } } } }


Resources

  • Product site: https://www.neuronsearchlab.com
  • MCP setup guide: https://docs.neuronsearchlab.com/sdk/mcp
  • AI agents for recommendation operations: https://www.neuronsearchlab.com/blog/ai-agents-for-recommendation-operations
  • Recommendation systems reading path: https://www.neuronsearchlab.com/blog/recommendation-systems

Tools

API tools
ToolDescription
get_recommendationsFetch personalised recommendations for a user
get_recommendation_setsFetch every rail of a page in one request
get_auto_recommendationsAuto-sectioned feed with pagination (infinite scroll)
track_eventRecord a user interaction (click, view, purchase, etc.)
upsert_itemAdd or update a catalogue item
patch_itemPartially update an item (enable/disable, change fields)
delete_itemsPermanently remove items from the catalogue
search_itemsSearch the catalogue by keyword
explain_rankingExplain why an item ranked where it did for a user

Modes

Public mode

Uses OAuth client credentials and the public API.

Supported:

  • recommendations
  • events
  • catalogue operations
Internal mode

Uses a NeuronSearchLab API key with the admin scope against the console API.

Currently supported:

  • account plan and limits: get_account_plan returns the effective plan, resolved limits, current usage, and exact overages
  • catalogue search and ranking debug: search_items, explain_ranking
  • contexts: list_contexts, create_context, update_context, delete_context, get_context
  • rules: list_rules, create_rule, update_rule, delete_rule, toggle_rule, enable_rule, disable_rule, get_rule
  • segments: list_segments, get_segment, create_segment, update_segment, delete_segment
  • experiments: list_experiments, get_experiment, create_experiment, update_experiment, start_experiment, stop_experiment, get_experiment_results, refresh_experiment_results
  • training: list_training_jobs, get_training_job, create_training_job, cancel_training_job
  • analytics: get_ranking_metrics, get_user_analytics, get_item_analytics, compare_items, top_items
  • event types: list_event_types, create_event_type, update_event_type, delete_event_type
  • credentials and integrations: list_api_keys, revoke_api_key, list_integrations (create_api_key is local/internal only because it returns credential material)
  • fallback UI coverage for trusted local/internal clients only: list_platform_routes, call_platform_api

Quickstart (local stdio)

1. Get credentials

Generate SDK Credentials (OAuth 2.0 client ID + secret) from the NeuronSearchLab console.

2. Add to Claude Desktop

Public mode (recommendations, events, catalogue):

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{

"mcpServers": { "neuronsearchlab": { "command": "npx", "args": ["-y", "@neuronsearchlab/mcp"], "env": { "NSL_CLIENT_ID": "your-client-id", "NSL_CLIENT_SECRET": "your-client-secret" } } } }

Internal mode (admin platform — contexts, rules, analytics, etc.):

{

"mcpServers": { "neuronsearchlab": { "command": "npx", "args": ["-y", "@neuronsearchlab/mcp"], "env": { "NSL_PLATFORM_MODE": "internal", "NSL_API_KEY": "your-admin-api-key" } } } }

Restart Claude Desktop. You'll see a 🔌 neuronsearchlab indicator in the toolbar when it's connected.

Try it: recommendation-ops demo

Once connected, run this named demo path before wiring the server into a larger workflow. It proves that an AI client can operate the recommender as an investigation surface rather than just call a recommendation endpoint.

  1. List contexts so the assistant confirms the exact surface it is about to inspect.
  2. Fetch recommendations for a known test user and context.
  3. Search the catalogue for a concrete product/content phrase and compare the returned item IDs with the recommendation set.
  4. Explain one ranked item using the request_id from the recommendation or search response when available.
  5. Optional, sandbox only: draft or toggle a rule after the explanation shows the expected leak. Keep production contexts read-only unless the operator explicitly approves a write.
Use the NeuronSearchLab MCP server in read-only mode first.

List my recommendation contexts and choose the homepage-feed context. Get 10 recommendations for user demo-user@example.com using context homepage-feed. Search the catalogue for waterproof jackets and show the top 5 item ids. Explain why the first recommended item ranked first, using the request_id from the recommendation response if available. If you see a relevance leak, draft the smallest rule that would fix it, but do not create or toggle the rule yet.

Internal/admin mode can also inspect operational state before making changes:

List ranking rules for the homepage-feed context.

Show the latest ranking metrics for that context. Compare item jacket-123 with item jacket-456 and explain which rule or signal separates them.

Next steps after the smoke test:

  • create a scoped API key for the client or MCP server
  • connect one real recommendation context, such as homepage-feed
  • add request attribution to click/view events before judging ranking quality
3. Cursor / other MCP clients

Follow your client's MCP server guide. The command is:

npx @neuronsearchlab/mcp

Set NSL_CLIENT_ID + NSL_CLIENT_SECRET for public mode, or NSL_PLATFORM_MODE=internal + NSL_API_KEY for internal mode.


Releases

This repo uses Changesets plus GitHub Actions for automated versioning and npm publishing.

  • Add a changeset for any user-facing package change with npm run changeset
  • Merge that PR into main
  • The release.yml workflow opens or updates a version PR
  • Merging the version PR publishes @neuronsearchlab/mcp to npm automatically

To enable trusted publishing, configure the package on npmjs.com to trust the release.yml workflow in this repository.


Configuration

All configuration is via environment variables:

VariableRequiredDefaultDescription
NSL_PLATFORM_MODENopublicpublic or internal
NSL_CLIENT_IDPublic mode—OAuth client ID from the console
NSL_CLIENT_SECRETPublic mode—OAuth client secret from the console
NSL_API_KEYInternal mode—API key with admin scope
NSL_TOKEN_URLNohttps://auth.neuronsearchlab.com/oauth2/tokenToken endpoint
NSL_API_BASE_URLNohttps://api.neuronsearchlab.com in public mode, https://console.neuronsearchlab.com in internal modeAPI base URL
NSL_TIMEOUT_MSNo15000Request timeout in milliseconds

Tool reference

get_recommendations

Fetch personalised recommendations for a user. Returns ranked items with scores and a request_id for attribution.

Inputs

FieldTypeRequiredDescription
user_idstringYesUser identifier (UUID, email, or any stable string)
context_idpositive integerNoContext ID generated when the context is created in the console
limitinteger 1–200NoNumber of items to return (defaults to context value, usually 20)
surfacestringNoRerank surface override (e.g. "homepage", "sidebar")

Example

Get 10 recommendations for user alice@example.com using context 101

get_recommendation_sets

Fetch every recommendation rail of a page in one request (POST /v1/recommendations/batch). Each set is served and billed on its own and carries its own request_id for attribution; a set that fails reports its own error. Not exposed in the ChatGPT app profile.

Inputs

FieldTypeRequiredDescription
user_idstringOne of user_id, anonymous_idUser identifier
anonymous_idstringOne of user_id, anonymous_idAnonymous visitor identifier
setsarray, 1–8 entriesYes{ key, context_id, limit?, item_id?, filters? } per rail

Example

Get the homepage rails for alice@example.com: 12 from context 101 as "for_you" and 8 from context 102 as "trending"

get_auto_recommendations

Fetch the next auto-generated section for a user's feed. Designed for infinite-scroll — each call returns one curated section (e.g. *"Trending this week"*, *"New for you"*) plus a cursor for the next section. Call until done: true.

Inputs

FieldTypeRequiredDescription
user_idstringYesUser identifier
context_idpositive integerNoOptional console-generated context ID
limitinteger 1–200NoItems per section

| cursor | st

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx