Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
A local catalogue of the links your chats share: search, save and file them. Any model, or none.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DRIFTNET_HOME, DRIFTNET_LLM_PROVIDER, DRIFTNET_LLM_MODEL, DRIFTNET_LLM_API_KEY, DRIFTNET_LLM_BASE_URL, DRIFTNET_LLM_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_BEARER_TOKEN_BEDROCK, GOOGLE_APPLICATION_CREDENTIALS, GOOGLE_CLOUD_PROJECT, DRIFTNET_JUDGE, DRIFTNET_JUDGE_RULES, DRIFTNET_LANGUAGE, DRIFTNET_AGENT标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"driftnet": {
"command": "npx",
"args": [
"-y",
"driftnet",
"mcp"
],
"env": {
"DRIFTNET_HOME": "your-value",
"DRIFTNET_LLM_PROVIDER": "your-value",
"DRIFTNET_LLM_MODEL": "your-value",
"DRIFTNET_LLM_API_KEY": "your-value",
"DRIFTNET_LLM_BASE_URL": "your-value",
"DRIFTNET_LLM_REGION": "your-value",
"AWS_ACCESS_KEY_ID": "your-value",
"AWS_SECRET_ACCESS_KEY": "your-value",
"AWS_BEARER_TOKEN_BEDROCK": "your-value",
"GOOGLE_APPLICATION_CREDENTIALS": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"DRIFTNET_JUDGE": "your-value",
"DRIFTNET_JUDGE_RULES": "your-value",
"DRIFTNET_LANGUAGE": "your-value",
"DRIFTNET_AGENT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add driftnet --env DRIFTNET_HOME=your-value --env DRIFTNET_LLM_PROVIDER=your-value --env DRIFTNET_LLM_MODEL=your-value --env DRIFTNET_LLM_API_KEY=your-value --env DRIFTNET_LLM_BASE_URL=your-value --env DRIFTNET_LLM_REGION=your-value --env AWS_ACCESS_KEY_ID=your-value --env AWS_SECRET_ACCESS_KEY=your-value --env AWS_BEARER_TOKEN_BEDROCK=your-value --env GOOGLE_APPLICATION_CREDENTIALS=your-value --env GOOGLE_CLOUD_PROJECT=your-value --env DRIFTNET_JUDGE=your-value --env DRIFTNET_JUDGE_RULES=your-value --env DRIFTNET_LANGUAGE=your-value --env DRIFTNET_AGENT=your-value -- npx -y driftnet mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"driftnet": {
"command": "npx",
"args": [
"-y",
"driftnet",
"mcp"
],
"env": {
"DRIFTNET_HOME": "your-value",
"DRIFTNET_LLM_PROVIDER": "your-value",
"DRIFTNET_LLM_MODEL": "your-value",
"DRIFTNET_LLM_API_KEY": "your-value",
"DRIFTNET_LLM_BASE_URL": "your-value",
"DRIFTNET_LLM_REGION": "your-value",
"AWS_ACCESS_KEY_ID": "your-value",
"AWS_SECRET_ACCESS_KEY": "your-value",
"AWS_BEARER_TOKEN_BEDROCK": "your-value",
"GOOGLE_APPLICATION_CREDENTIALS": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"DRIFTNET_JUDGE": "your-value",
"DRIFTNET_JUDGE_RULES": "your-value",
"DRIFTNET_LANGUAGE": "your-value",
"DRIFTNET_AGENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"driftnet": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"driftnet",
"mcp"
],
"env": {
"DRIFTNET_HOME": "your-value",
"DRIFTNET_LLM_PROVIDER": "your-value",
"DRIFTNET_LLM_MODEL": "your-value",
"DRIFTNET_LLM_API_KEY": "your-value",
"DRIFTNET_LLM_BASE_URL": "your-value",
"DRIFTNET_LLM_REGION": "your-value",
"AWS_ACCESS_KEY_ID": "your-value",
"AWS_SECRET_ACCESS_KEY": "your-value",
"AWS_BEARER_TOKEN_BEDROCK": "your-value",
"GOOGLE_APPLICATION_CREDENTIALS": "your-value",
"GOOGLE_CLOUD_PROJECT": "your-value",
"DRIFTNET_JUDGE": "your-value",
"DRIFTNET_JUDGE_RULES": "your-value",
"DRIFTNET_LANGUAGE": "your-value",
"DRIFTNET_AGENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DRIFTNET_HOME envDRIFTNET_LLM_PROVIDER envDRIFTNET_LLM_MODEL envDRIFTNET_LLM_BASE_URL envDRIFTNET_LLM_REGION envGOOGLE_APPLICATION_CREDENTIALS envGOOGLE_CLOUD_PROJECT envDRIFTNET_JUDGE envDRIFTNET_JUDGE_RULES envDRIFTNET_LANGUAGE envDRIFTNET_AGENT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 KevinChu1110 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:DRIFTNET_LLM_API_KEY, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_BEARER_TOKEN_BEDROCK
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.2.1)于3天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
English · 繁體中文
[▶ Try the demo](https://kevinchu1110.github.io/driftnet/demo/) · [Website](https://kevinchu1110.github.io/driftnet/) · [Chrome extension](https://chromewebstore.google.com/detail/driftnet/inmlinbodfopmanbllkkjcgheelacddm) · [Docs](#-docs)
🆕 1.2 is out: chat replies link each card with its own signature instead of the share key, LINE answers before its reply token expires, model and embedding endpoints go through the SSRF guard, and yt-dlp gets a cookies file and a stale-version warning. What's new · What stays stable
Every day your feed carries great articles, open-source repos and tools past you. You paste them into a chat "for later", and like everything else in the current, they drift out of sight.
driftnet is the net you leave in that current. Drop links in a group chat (LINE, Slack, Discord, Telegram), click the Chrome button, import your old bookmarks or use the command line. driftnet catches each one, follows a post to the project it is really about, boils it down to a short summary in your language, and files it in your own folders, in a local catalogue with full-text search (Chinese included). Your agents haul in the same catalogue over MCP. It runs on your own computer and works with any model, or none.
1. A post becomes the tool. A Facebook reel with no links in it goes into the chat. driftnet reads the caption, finds both repos on GitHub by exact name, and files each as its own card. The chat gets one line; the summary is on the page.
you ▸ this week's AI roundup https://www.facebook.com/share/v/1DfVB2odi3/
bot ▸ 📌 This week in AI (3/11)|News + Paperclip, RealWonder https://driftnet.example/#item-1
From a real run. The post had no links: driftnet read the caption and found both repos on GitHub by name.
2. Know what it is at a glance. Before: a bare link in a chat. After: a card with pictures from the page, a one-line answer, what you'll see and why it's here, so you can tell in seconds whether to open it.
3. Sort with the mind map. New links the AI filed on its own wait in the Inbox with two or three suggested folders. Or drag a card onto a folder on the mind map, which branches out from the root like XMind.
/openapi.json, /llms.txt, /feed.xml and an outgoing webhook; or let them do the reading (Agents).Everything runs on your own computer: no server to rent, no account. Want a look first? [Try the demo](https://kevinchu1110.github.io/driftnet/demo/) runs the real page in your browser.
Copy this into Claude Code, Cursor, Codex or any agent that can run commands on your computer:
Read https://raw.githubusercontent.com/KevinChu1110/driftnet/main/docs/llms-install.txt and set up driftnet for me.
It checks Node.js, starts driftnet, connects itself over MCP and tells you when it is done.
You need Node.js 22.13 or newer. Never used a terminal? Step by step for Mac and Windows. Then, in a terminal:
npx driftnet
Your browser opens http://localhost:8787: that is driftnet's page, served by your own computer (*localhost* means "this machine"; nobody else can see it). ⚙ Settings → AI: pick a provider and fill in its key and model. Or skip it: links are still saved and wait unsorted under "Other", and an AI agent can write the summaries (Agents). To connect the AI apps on this computer (Claude Code, Claude Desktop, Cursor, Windsurf, Codex) in one go: npx driftnet init.
Closing that terminal window stops driftnet. To have it start at login and run in the background instead (macOS, Linux, Windows), run once:
npx driftnet service install # status: npx driftnet service status · undo: npx driftnet service uninstall
Your settings live in ~/.driftnet/.env and the catalogue in ~/.driftnet/driftnet.db.
Any of these works:
npx driftnet add https://github.com/paperclipai/paperclipA card shows up within 5–30 seconds: what it is, why it might matter to you, and where it was filed.
Other ways to run it: from source, Docker
From source, to hack on it or run it as a login service:
git clone https://github.com/KevinChu1110/driftnet && cd driftnet
pnpm install pnpm start # http://localhost:8787 pnpm service:install # optional: start at login (macOS / Linux)
With Docker:
docker build -t driftnet https://github.com/KevinChu1110/driftnet.git
docker run -d -p 127.0.0.1:8787:8787 -v driftnet:/data -e DRIFTNET_HOST=0.0.0.0 driftnet start
Without start, the container is the MCP server over stdio (docker run -i --rm -v driftnet:/data driftnet). DRIFTNET_HOME moves the settings and the catalogue somewhere else.
Not working?
PORT=8788.nvm install 22 or from nodejs.org.DRIFTNET_TOKEN), or list the address in DRIFTNET_ALLOWED_HOSTS.| You are | Start with | Model |
|---|---|---|
| Just me, on my computer | The Chrome extension and the web page | A local one through Ollama (see Models), or none |
| A group chat | A Discord, Telegram, Slack or LINE bot, see Ways in | Any |
| My agents | MCP, the Claude Code plugin or the agent queue | None needed: the agent does the reading |
| Install for beginners | Never used a terminal: Mac and Windows, step by step |
| How driftnet handles a link | The eight steps, reels and shorts, link health, search by meaning |
| Ways in | Chrome, Discord, Telegram, Slack, LINE, votes, the weekly digest |
| The web page | Cards, folders, mind map, AI tidy-up, notes, sharing, shortcuts |
| Chrome extension | What it captures on Threads, X and Instagram, install |
| Models | Picking a model (API, subscription, Ollama or none), judges, plugins |
| Agents | MCP tools, the Claude Code plugin, letting your agent do the reading |
| Command line | driftnet add, search, export, backup and the rest |
| Settings | Every setting, backup and restore |
| Putting it online | A password, a public URL, LINE webhooks |
| What stays stable | What 1.x promises not to break: your data, settings, MCP tools, API, CLI |
| Contributing | Layout, tests, releasing, extending |
[!IMPORTANT]
The catalogue stays on you
只显示了开头部分;其余内容请在仓库中阅读