driftnet
io.github.KevinChu1110/driftnet · 27 stars · TypeScript · MIT
MCP server A local catalogue of the links your chats share: search, save and file them. Any model, or none.
Install
The repo has no one-line install. Follow its README.
Published as
- npm
driftnetstdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
DRIFTNET_HOMEOptional | Env var | Where settings and the catalogue live (default ~/.driftnet) |
DRIFTNET_LLM_PROVIDEROptional | Env var | anthropic, openai, gemini, bedrock, vertex, claude-cli or gemini-cli; empty for no summaries |
DRIFTNET_LLM_MODELOptional | Env var | Model name for that provider |
DRIFTNET_LLM_API_KEYOptional · Secret | Env var | API key for that provider (gemini also reads GEMINI_API_KEY; for vertex it may be a raw access token) |
DRIFTNET_LLM_BASE_URLOptional | Env var | OpenAI-compatible endpoint for the openai provider (Ollama, OpenRouter, Gemini…) |
DRIFTNET_LLM_REGIONOptional | Env var | Region for the bedrock provider (or AWS_REGION) and the vertex provider (default us-central1) |
AWS_ACCESS_KEY_IDOptional · Secret | Env var | bedrock provider: AWS access key ID (with AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN for temporary credentials) |
AWS_SECRET_ACCESS_KEYOptional · Secret | Env var | bedrock provider: AWS secret access key |
AWS_BEARER_TOKEN_BEDROCKOptional · Secret | Env var | bedrock provider: a Bedrock API key, used instead of the AWS keys |
GOOGLE_APPLICATION_CREDENTIALSOptional | Env var | vertex provider: path to a service-account JSON key file (or DRIFTNET_VERTEX_CREDENTIALS) |
GOOGLE_CLOUD_PROJECTOptional | Env var | vertex provider: Google Cloud project id (optional when the key file names one) |
DRIFTNET_JUDGEOptional | Env var | Who files each link before the model: jev, rules (free, no model), llm, heuristic, off, or a plugin's judge name |
DRIFTNET_JUDGE_RULESOptional | Env var | Path to a rules file for the rules judge, one 'pattern -> folder' per line |
DRIFTNET_LANGUAGEOptional | Env var | Language summaries are written in (default English) |
DRIFTNET_AGENTOptional | Env var | Name recorded for this agent's saves and votes (default local) |
Files
English · 繁體中文
▶ Try the demo · Website · Chrome extension · Docs
🆕 1.0 is out: starts at login with npx driftnet service install, chat bots connect from ⚙ Settings → Chats, and search forgives typos. What's new · What stays stable
📖 What it is
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.
🎥 See it work
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.
✨ Core features
Catch the link
- 🎯 Finds the actual tool. A post linking a repo becomes the repo; a post that only names projects gets them looked up on GitHub by exact name. Links a model makes up are thrown away.
- 💬 Reads "link in the comments". The Chrome extension opens the comments; a weekly roundup becomes one item per project.
- 📥 Many ways in. A Chrome button, Discord, Telegram, Slack or LINE bots, your agent, or one HTTP call (Ways in).
Understand and sort it
- 🖼️ Cards you can read at a glance. Pictures, a one-line answer, what you'll see, why it's here.
- 🗂️ Your folders are the categories. The AI files new links by each folder's path and description; its suggestions wait in the Inbox.
- 🧠 Mind map and split view. Drag cards onto folders; ✨ AI tidy-up proposes a plan that changes nothing until you apply it (the web page).
- 📱 A page you can search, on a phone too. Notes, undo and trash, keyboard shortcuts, read-only share links.
- 🚫 Not a read-later app. Pocket and Raindrop keep the link you gave them. driftnet follows the post to the tool it is about, keeps a short outline instead of the whole page, and lets your agents read and write the same catalogue over MCP.
Cheap, safe and yours
- 💸 Spends almost nothing. Repeat links are free and pages are cut to an outline of about 350 tokens before any model sees them. Five real Facebook reels were judged for $0.00029 in total.
- ⚖️ Optional judge. Jev (needs a TypeSafe key) decides in ~100 ms what is worth summarising. Without it, your model sorts each link.
- 🗳️ Learns what to ignore. 👎 a result and its publisher loses reputation; sources that keep getting voted down stop costing anything.
- 🛡️ Safe by default. Private and local addresses are refused, and prompt injection is never passed on to agents.
- 🤖 Agents use it too. MCP,
/openapi.json,/llms.txt,/feed.xmland an outgoing webhook; or let them do the reading (Agents). - 🧩 Any model or none, and it stays yours. A free local model through Ollama, a Claude or Gemini subscription you already have, a paid API key (pennies), or no model (links are then saved and wait unsorted under "Other"). Local SQLite; English and Traditional Chinese throughout.
🚀 Quick start
Everything runs on your own computer: no server to rent, no account. Want a look first? Try the demo runs the real page in your browser.
Easiest: let your AI agent install it
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.
Or run one command yourself
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.
Add your first link
Any of these works:
- On the page: paste a link into the box and press Add.
- In a terminal:
npx driftnet add https://github.com/paperclipai/paperclip - From the browser: the Chrome extension sends the page you are looking at.
- From a chat: paste a Discord, Telegram, Slack or LINE bot token in ⚙ Settings → Chats (how to get one) and drop links there.
A 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 8787 is in use: another driftnet is probably running; open http://localhost:8787, or start this one with
PORT=8788. driftnet needs Node 22.13 or newer: install it withnvm install 22or from nodejs.org.- Cards stay ⏳ with no summary: no model is set up yet. Choose one in ⚙ Settings → AI, or let your agent work the queue (Agents).
- Opened from another computer and got
421: without a password driftnet only answers on this machine. Set a password (DRIFTNET_TOKEN), or list the address inDRIFTNET_ALLOWED_HOSTS.
Which setup is yours?
| 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 |
📚 Docs
| 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 |
Where your data goes
Important
The catalogue stays on your machine. To judge and summarise a link, driftnet sends a digest (title, outline, the chat text it was shared with) to TypeSafe if Jev is on and to your model provider if one is set. Chat messages without a link are never processed or stored. With Ollama and
DRIFTNET_JUDGE=off, nothing leaves your machine. Take it all with you any time: export to Markdown or an Obsidian / Notion vault from the sidebar, orGET /api/export. If you turn it on (DRIFTNET_UPDATE_CHECK=1), the only other call driftnet makes on its own is the once-a-day check for a new version (a plain request to the npm registry); it is off unless turned on.
Backup and restore
⚙ Settings › General › Backup downloads one zip of your catalogue and settings (passwords and keys left out unless you ask); npx driftnet backup does the same from a terminal. See Settings.
Contributing
Issues with a link driftnet handled badly are the most useful help: real links people share are how every feature here was found. Code: see CONTRIBUTING.md.
Support
driftnet is free and MIT. If it saves you time, a star helps others find it, and you can buy me a coffee.
License
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 27
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-10-30
- Forks
- 3
- MCP Registry
- io.github.KevinChu1110/driftnet
- Homepage
- kevinchu1110.github.io/driftnet
- Topics
- agent-skills, ai-tools, bookmarks, chatbot, discord-bot, line-bot, llm, mcp, mcp-server, slack-bot, telegram-bot, typescript, claude-code, link-manager, local-first, ollama, self-hosted, chrome-extension, knowledge-base, read-later
Next on this shelf
- 3911Vectrealio.github.Vectreal/vectrealUpload, publish and embed 3D models on any website from your agent.27
- 3912io.github.johntony1/site-promptio.github.johntony1/site-promptPoint at any part of a website and get a prompt that rebuilds it 1:1, or see how it is made.27
- 3913Geonode MCP Servercom.geonode/mcpWeb data for agents. Extract web pages, crawl websites, discover URLs, and search the web.27
- 3914mcp-stdio-to-streamable-http-adapter MCP Serverpyroprompts/mcp-stdio-to-streamable-http-adapterProxy through a STDIO MCP Server to interact with Streamable HTTP MCP Servers26
- 3915🚀 ⚡️ k6-mcp-serverQAInsights/k6-mcp-serverk6 MCP server26
- 3916JustCall MCP Serversaaslabsco/justcall-mcp-server26



