原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

nectr

作者:genckastrati版本 0.5.1i★ 0i在你的电脑上运行官方网站 ↗

安装方法

能做什么

Scan any public page the way AI reads it, and list your nectr sites, pages and datasets.

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 需要 NECTR_API_KEY
  • 分类 数据库与数据集

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

last30days-skill

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

作者:mvanhorn★ 75,1131 个 skill

Skill · 操作手册

timesfm

TimesFM (Time Series Foundation Model) is a pretrained time-series foundation model developed by Google Research for time-series forecasting.

作者:google-research★ 35,6991 个 skill

Skill · 操作手册

Shadowbroker

Open-source intelligence for the global theater. Track everything from the corporate/private jets of the wealthy, and spy satellites, to seismic events in one unified interface. Hook an AI agent up to have it parse through data and find previously unseen correlations. The knowledge is available to…

作者:BigBodyCobain★ 11,6311 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度0/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分12/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

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

用一句话让 AI 帮你安装

请帮我安装 nectr。按照 https://mcp.popnx.com/i/genckastrati-nectr-mcp.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月26日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server nectr,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "nectr": { "command": "npx", "args": [ "-y", "nectr-mcp" ], "env": { "NECTR_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NECTR_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 nectr 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 nectr 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 nectr 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "nectr": {
          "command": "npx",
          "args": [
            "-y",
            "nectr-mcp"
          ],
          "env": {
            "NECTR_API_KEY": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 nectr 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 nectr,或回答中出现 nectr 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • NECTR_URL Another nectr instance's https address; defaults to https://nectr.ch

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 nectr

nectr 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 nectr 的应用

  • 需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
  • 需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

B · 数据库与数据集 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server nectr,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user nectr --env NECTR_API_KEY=your-value -- npx -y nectr-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NECTR_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 nectr 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 nectr 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 nectr 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user nectr --env NECTR_API_KEY=your-value -- npx -y nectr-mcp

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 nectr 在列表中并显示已连接

  6. 试一试

    用 nectr 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 nectr,或回答中出现 nectr 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • NECTR_URL Another nectr instance's https address; defaults to https://nectr.ch

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server nectr,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "nectr": { "command": "npx", "args": [ "-y", "nectr-mcp" ], "env": { "NECTR_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NECTR_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 nectr 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 nectr 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 nectr 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 nectr 的设置中,NECTR_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 nectr 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 nectr,或回答中出现 nectr 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • NECTR_URL Another nectr instance's https address; defaults to https://nectr.ch

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 nectr 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server nectr,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "nectr": { "type": "stdio", "command": "npx", "args": [ "-y", "nectr-mcp" ], "env": { "NECTR_API_KEY": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) NECTR_API_KEY 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 nectr 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 Node.js(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    node -v
    • 显示版本号(例如 v26.13.1)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令

    打开 Node.js 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v

    安装一次,所有需要 Node.js 的工具都能用

  2. 注册并创建 nectr 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 nectr 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 nectr 的设置中,NECTR_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 nectr 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 nectr,或回答中出现 nectr 的工具名称,就表示连接成功

1 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • NECTR_URL Another nectr instance's https address; defaults to https://nectr.ch

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 nectr 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user nectr --env NECTR_API_KEY=your-value -- npx -y nectr-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "nectr": {
      "command": "npx",
      "args": [
        "-y",
        "nectr-mcp"
      ],
      "env": {
        "NECTR_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "nectr": {
      "command": "npx",
      "args": [
        "-y",
        "nectr-mcp"
      ],
      "env": {
        "NECTR_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "nectr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "nectr-mcp"
      ],
      "env": {
        "NECTR_API_KEY": "your-value"
      }
    }
  }
}

需要你填写的值

  • NECTR_API_KEY 机密 必填 env
    Your nectr API key (starts with nct_), from Settings → API keys on nectr.ch
  • NECTR_URL env
    Another nectr instance's https address; defaults to https://nectr.ch

说明仍为英文原文。

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

一览

注册名称
io.github.genckastrati/nectr-mcp
每周下载量i
240/周
连接方式
在你的电脑上运行
最新版本i
0.5.1
发布到注册中心i
2026年11月26日
代码最后更新i
2026年11月26日
作者
genckastrati
软件包
npm: nectr-mcp
网站
nectr.ch
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 genckastrati 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于今天

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

OSV.dev 中没有 nectr-mcp@0.5.1 的记录

只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月26日

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/genckastrati-nectr-mcp.svg)](https://mcp.popnx.com/en/servers/genckastrati-nectr-mcp)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“数据库与数据集”中的其他服务器比较i

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

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

常见问题

nectr 安全吗?

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

它需要哪些密钥或代码?

你需要填写:NECTR_API_KEY

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

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于今天,最新版本(0.5.1)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Supabase, Neon, DBCode, Keboola MCP, WaveHouse Cloud

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

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

Supabase

MCP server for interacting with the Supabase platform

作者:supabase广泛使用↓ 24.6万/周★ 3025 整个仓库的星标6天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · supabase.com

Neon

Official Neon MCP server for managing Neon projects and Lakebase Postgres databases.

作者:neondatabase正在增长★ 66720天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · neon.com

DBCode

Query and explore 100+ databases through your DBCode connections.

作者:dbcodeio起步阶段↓ 118/周★ 369 整个仓库的星标2个月前更新

在你的电脑上运行✓ 服务方 · dbcode.io

Keboola MCP

Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...

作者:keboola正在增长↓ 1421/周★ 847天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · keboola.com

WaveHouse Cloud

Browse, query, and administer your managed WaveHouse + ClickHouse projects (schema, pipes, policy).

作者:Wave-RF起步阶段★ 415天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · wavehouse.cloud
与相似项目对比
本项
nectr
SupabaseNeonDBCodeKeboola MCPWaveHouse Cloud
运行位置需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装需要安装在电脑上云端或安装在电脑上都可以在云端运行,无需安装
需要密钥是是否否否否
可在 Claude 中按 + 添加否是是否否否
基础检查3/35/55/52/35/54/4
许可证MITApache-2.0MITNOASSERTIONMITApache-2.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

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

nectr-mcp

An MCP server for nectr, which shows how AI reads a web page.

It gives a model two tools:

  • `scan_page`: given a public page's address, it returns what an AI agent gets from it: the size in words and estimated tokens, which AI crawlers the site's robots.txt allows, linked PDFs and whether they hold text, its data tables and the structured data it declares (JSON-LD, microdata, schema.org RDFa), and the text that only appears after JavaScript runs. For pages on your own verified sites, it also returns the page as clean markdown, the tables' rows and the structured data itself.
  • `list_sites`: lists your sites in nectr and their pages' URLs, so you can see which pages you'll get markdown for, and the datasets you've published from each site with their addresses.

New in 0.5: scan_page reports a page's data tables and the structured data it declares, and list_sites shows the datasets you've published from each site.

Coming from 0.3? scan_page now includes the markdown only for pages on your own verified sites. Any other page still gets the full scan, without the markdown.

Coming from 0.2? The library tools (search_library, get_page, convert_url) are gone. Your existing nct_ key works with these tools.

Setup

  1. In nectr, open Settings → API keys and create a key. It starts with nct_.
  2. Add the server to your MCP client's configuration. Most desktop and editor clients use an mcpServers block like this:
{

"mcpServers": { "nectr": { "command": "npx", "args": ["-y", "nectr-mcp"], "env": { "NECTR_API_KEY": "nct_your_key_here" } } } }

  1. Restart the client. The scan_page and list_sites tools should appear.

Node.js 20 or newer is required.

VariableRequiredDefaultPurpose
NECTR_API_KEYyes—Your nct_ API key
NECTR_URLnohttps://nectr.chThe nectr site to talk to, for a self-hosted instance. Use its exact https address: the server won't follow a redirect, because the key would be dropped on the way

The tools

scan_page

scan_page(url, markdown?, max_chars?) fetches the page twice, with a browser and as plain HTTP, the way AI crawlers do, and returns:

SectionWhat it says
SizeWords and estimated tokens of the whole page as markdown, against the raw HTML an agent receives, and the words left without JavaScript
robots.txtWhether GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended and CCBot may fetch the page
Linked PDFsUp to 3 PDFs on the same site: pages, words, and whether there's a text layer at all
TablesEach data table's title, columns and row count (the first 20). The rows are in the markdown, for a page on one of your verified sites. Left out when the page has none
Structured dataWhat the page declares about itself, experimental on nectr's side: each item's schema.org types and where it was declared (JSON-LD, microdata or RDFa, the first 20), and its definition lists. "None" when it declares nothing
Only with JavaScriptThe share of words an agent misses without JavaScript, and the first 10 of those blocks. For a page that isn't on your verified sites, nectr sends only the first 5, shortened, so the tool doesn't count them
MarkdownThe page as markdown, last, and only for a page on one of your verified sites; otherwise the tool says it was left out and points to list_sites. markdown picks "full" (after JavaScript runs, the default), "without_javascript" or "none". It's cut at 40,000 characters unless you raise max_chars
Structured data as JSONFor a page on one of your verified sites, after the markdown: the structured data itself, compact, cut at max_chars like the markdown

Any public page can be scanned. The tool is read-only: nectr stores nothing from a scan. nectr honours the site's robots.txt for itself, so a page whose robots.txt keeps nectr out isn't fetched.

The full response, field by field, is in the scan API documentation.

list_sites

list_sites() takes no arguments. For each of your sites it gives the domain, whether it's verified (only verified sites get markdown from scan_page), how many pages nectr has copied as markdown, the site's llms.txt address, and the URL of each page (up to 100 per site) with its title and word count. A page nectr couldn't copy shows its status and the reason.

Before the pages come the datasets you've published from the site with Publish (up to 50 per site): each one's name, kind (table, list, structured data or page content), title and source page, its JSON address and, for tables and lists, its CSV address, then the site's catalogue. A dataset that wasn't on its page at the last fetch says so, and from when it's deleted if it stays missing. Publishing and renaming datasets stay in nectr's dashboard: the tool only reads them. When nectr doesn't answer for the datasets, the site is listed without them.

Limits and errors

The server uses the same developer API as any other script, so the API's limits apply: 10 scans a minute from one IP address. Errors are worded so a model knows whether to retry:

nectr saysThe model is told
401: the key is invalid or revokedDon't retry; you need a new key
403: robots.txt keeps nectr out, or scans aren't open to the accountnectr's reason; don't retry
422: the page can't be scanned (not public, not found, a PDF)nectr's reason, as given
429: rate limitedHow many seconds to wait
503: nectr is busyRetry in a few seconds
A redirect (for example NECTR_URL set to http://…)Don't retry; set NECTR_URL to nectr's https address
No answer within 90 seconds (a page with large linked PDFs can take that long)nectr was reached but slow; trying once more may work
No answer at all (network, DNS, TLS)nectr couldn't be reached; check the network or NECTR_URL

Security

Your API key is stored in plain text in your MCP client's config file. That's normal for MCP servers, but anyone who can read that file can use the key.

  • Create a dedicated key for each client, so you can revoke one without breaking the others.
  • If a key leaks, delete it under Settings → API keys in nectr. It stops working immediately.
  • This server only ever scans pages and reads your sites, their pages and their published datasets. The key itself is broader: it has the same access to the nectr API as your account, so treat it like a password.

Development

Running the server needs Node 20+, but developing needs Node 22.12 or newer (Vitest and the MCP Inspector require it). CI uses Node 24.

npm ci                 # not `npm install`: installs exactly the lockfile and never rewrites it

npm run typecheck npm test npm run build NECTR_API_KEY=nct_... node dist/index.js # speaks MCP over stdio

The tests run against a fake nectr API (test/fake-api.ts) and through a real MCP client over an in-memory transport (test/server.test.ts).

If npm test fails with "Cannot find native binding", the node_modules folder was installed on another platform, for example inside a Linux container. npm install on top of it won't fix it. Delete node_modules and run npm ci again.

Trying it by hand with the MCP Inspector

The MCP Inspector calls the tools directly, without a model, and shows exactly what a model would receive. Build first (npm run build), then use its CLI mode. Put the server command before the options. With the options first, the Inspector reports "No servers found in config file".

# PowerShell; in bash, use $NECTR_API_KEY instead of $k

$k = "nct_your_key"

npx @modelcontextprotocol/inspector --cli node dist/index.js -e NECTR_API_KEY=$k --method tools/list npx @modelcontextprotocol/inspector --cli node dist/index.js -e NECTR_API_KEY=$k --method tools/call --tool-name scan_page --tool-arg url=https://example.com/ npx @modelcontextprotocol/inspector --cli node dist/index.js -e NECTR_API_KEY=$k --method tools/call --tool-name scan_page --tool-arg url=https://example.com/ --tool-arg markdown=none

Add -e NECTR_URL=http://localhost:8000 to test against a local nectr backend. There, scans are open to admins only unless the backend runs with SCANS_ENABLED=true; other accounts get a 403. Leave out --cli for the web interface; the argument order is the same.

The Inspector's own dependencies need a newer Node than this server does. If it fails with "Cannot find native binding" after you upgrade Node, delete its cached copy from the npx cache (%LocalAppData%\npm-cache\_npx on Windows, ~/.npm/_npx elsewhere) and run it again.

The quickest sanity check needs no key at all: npx -y nectr-mcp should print "NECTR_API_KEY is not set" and exit.

Checks before publishing

npm run smoke starts the built server the way an MCP client does and runs the release checks against nectr with your key: the tools and their read-only marks, list_sites, a page on one of your verified sites (markdown, tables, structured data as JSON, markdown=none, max_chars), a page that declares nothing and a page that isn't yours. Each prints PASS, SKIP (with the reason) or FAIL, and the script exits 1 if anything failed. It runs four or five scans.

npm run build

NECTR_API_KEY=nct_... npm run smoke

optional: NECTR_SMOKE_PAGE= , NECTR_SMOKE_FOREIGN= , NECTR_URL=…

It stops after list_sites when the key is rejected: nectr runs a scan sent with a rejected key as an anonymous one, so the scan checks would test nothing.

Trying it in Claude

To try a local build in a real conversation before publishing, point the client at dist/index.js instead of npx, and rebuild after each change.

Claude Desktop (Settings → Developer → Edit Config, or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS). Desktop doesn't start from your shell, so give node's full path (which node; with nvm it changes when you switch versions):

{

"mcpServers": { "nectr-dev": { "command": "/full/path/to/node", "args": ["/full/path/to/nectr-mcp/dist/index.js"], "env": { "NECTR_API_KEY": "nct_your_key_here" } } } }

Quit Desktop completely and open it again; nectr-dev then shows under the tools button. Ask, for example, "Which of my nectr sites have published datasets?" or "Scan https://example.com/ with nectr and tell me what it declares", and check that the answer quotes the tool. Its logs are in ~/Library/Logs/Claude/mcp-server-nectr-dev.log.

Claude Code, from this folder:

claude mcp add nectr-dev -e NECTR_API_KEY=nct_... -- node "$PWD/dist/index.js"

Then /mcp in a session lists it. claude mcp remove nectr-dev takes it out again.

Publishing
npm version patch      # or minor / major; also bump VERSION in src/server.ts and USER_AGENT in src/client.ts,

and both versions in server.json

npm run build && NECTR_API_KEY=nct_... npm run smoke # every check PASS or SKIP npm publish # prepublishOnly runs typecheck, tests and build first mcp-publisher publish # then list that version in the MCP Registry

npm refuses to publish from an account without two-factor authentication (error E403). Enable it under your npm account settings; npm publish then asks you to confirm in the browser or with --otp= .

The [MCP Registry](https://registry.modelcontextprotocol.io) lists the server as io.github.genckastrati/nectr-mcp, from server.json. It checks ownership through mcpName in the published package.json, which must equal `se

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