Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Local-first agent memory over SQLite: remember, recall, link, forget. Degrades, never fails.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
TETHER_DB, TETHER_SEMANTIC, TETHER_SYNC_URL, TETHER_SYNC_TOKEN「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"tether": {
"command": "uvx",
"args": [
"tether-memory"
],
"env": {
"TETHER_DB": "your-value",
"TETHER_SEMANTIC": "your-value",
"TETHER_SYNC_URL": "your-value",
"TETHER_SYNC_TOKEN": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add tether --env TETHER_DB=your-value --env TETHER_SEMANTIC=your-value --env TETHER_SYNC_URL=your-value --env TETHER_SYNC_TOKEN=your-value -- uvx tether-memory動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"tether": {
"command": "uvx",
"args": [
"tether-memory"
],
"env": {
"TETHER_DB": "your-value",
"TETHER_SEMANTIC": "your-value",
"TETHER_SYNC_URL": "your-value",
"TETHER_SYNC_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"tether": {
"type": "stdio",
"command": "uvx",
"args": [
"tether-memory"
],
"env": {
"TETHER_DB": "your-value",
"TETHER_SEMANTIC": "your-value",
"TETHER_SYNC_URL": "your-value",
"TETHER_SYNC_TOKEN": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
TETHER_DB envTETHER_SEMANTIC envTETHER_SYNC_URL envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント sidyellur で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:TETHER_SYNC_TOKEN
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.6.1)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A shared memory layer for personal agents, across devices. tether is an MCP server backed by a local SQLite file. Any MCP-compatible agent can remember, recall, link, and forget durable notes — facts about you, your projects, your preferences — so context follows you instead of dying with each session.
It runs local-only with zero configuration. Point it at a hosted libSQL/Turso primary and the same file becomes an embedded replica that syncs your memory across every device in near-real-time.
The near future is personal agents living across many devices — laptop, desktop, phone. For that to feel like *one* assistant rather than several amnesiac ones, memory has to be a substrate that follows you: readable and writable from every device and from any agent, not siloed inside a single tool.
tether is that substrate. It is deliberately a *convenience layer* — it makes an agent more useful when present, and never breaks the agent's work when degraded.
v0.6.1. The core (four memory verbs + boot index + FTS5) shipped in v0.1; since then recall has grown a semantic arm, consolidation, an associative usage graph, a self-organizing store, and opt-in crystallization — each additive and each degrading cleanly to plain keyword recall. Every feature below is implemented.
Design and rationale start at docs/superpowers/specs/2026-07-03-tether-design.md; the associative core, seed-dominant recall, self-organizing store (Tier B1), and crystallization (Tier B2) each have their own design doc under docs/superpowers/specs/, with matching plans in docs/superpowers/plans/.
remember · recall · link · forget. (Enabling crystallization adds one reflection-control tool, dismiss_cluster — not a memory operation.)updated_at, plus a via receipt saying why each hit surfaced) so an agent can judge staleness and cite what it updates. body is a query-centered excerpt, not the whole memory — see Excerpts.remember/recall calls at once gets atomic, correctly-reported results; see Performance and durability.Requires Python ≥3.10 on Linux, macOS, or Windows.
Register it with Claude Code — with uv:
claude mcp add tether -- uvx tether-memory
…or install it first:
pip install tether-memory
claude mcp add tether -- tether-memory
(The package is named tether-memory on PyPI — tether was already reserved as a common brand name. tether in claude mcp add tether -- ... is just the label Claude Code uses to refer to this server; it doesn't need to match the installed command.)
Or add it as a Claude Code plugin (this repo doubles as a one-plugin marketplace; the plugin runs uvx --from 'tether-memory[semantic]', so semantic recall comes along):
/plugin marketplace add sidyellur/tether
/plugin install tether@tether
It is also listed in the MCP Registry as mcp-name: io.github.sidyellur/tether.
By default memory lives in a local SQLite file at ~/.local/share/tether/memory.db — on Windows, %LOCALAPPDATA%\tether\memory.db (override either with TETHER_DB, or set XDG_DATA_HOME, which is honored on every platform). No accounts, no network — this is the whole tool for a single machine.
tether knows which project it is serving: Claude Code sets CLAUDE_PROJECT_DIR in every MCP server's environment, and tether takes the directory's name as the project (override or disable with TETHER_PROJECT). That drives three things, none of which need configuration:
# This project ( ) section, then # Everything else, so the agent starts a session already looking at the decisions and gotchas for the repo it is in rather than whatever you touched last, anywhere.project, feedback and reference memories get a proj: tag unless the agent passes a proj: tag itself. user memories are about you, not the work, and stay global. The tag is an ordinary tag: recall(tags="proj: ") lists a project's memories deterministically.| Var | Default | Effect |
|---|---|---|
TETHER_PROJECT | basename of CLAUDE_PROJECT_DIR | name the project explicitly; off disables project awareness |
Nothing falls back to the working directory: outside Claude Code (or with TETHER_PROJECT=off) tether behaves exactly as before.
Point tether at a Turso / libSQL database and the local file becomes an embedded replica — local-speed reads, writes that propagate to your other devices. Install the extra and set two env vars:
pip install 'tether-memory[sync]'
export TETHER_SYNC_URL='libsql:// .turso.io' export TETHER_SYNC_TOKEN=' '
If the backend is unreachable, tether logs sync offline and keeps working against the local file. Sync is a single-primary design: every write goes to the hosted primary and replicas only pull, so a device that was merely offline catches up (including tombstones from forget) on its next pull and can never resurrect a memory another device forgot. The one gap: writes made *while degraded* land only in that device's local file and are not merged back later (#99 tracks reconciliation).
Writes push immediately. Reads also pull, debounced to at most once every TETHER_SYNC_READ_INTERVAL seconds (default 30) — so a device that only *asks* things still sees what your other devices wrote, instead of staying frozen at its own startup state until it happens to write something. The read-path pull is bounded much more tightly than the write-path one: if the backend is slow, the recall returns local data and the pull lands for the next read rather than making you wait.
| Var | Default | Effect |
|---|---|---|
TETHER_SYNC_READ_INTERVAL | 30 | seconds between read-path pulls; 0 = only sync on writes |
TETHER_DEVICE_ID | hostname | the device id recorded on each memory (and the default TETHER_AUTHOR) |
One thing to know about replicas: libSQL forwards every write to the hosted primary, and with the associative graph on (the default) recall writes too — it records what was recalled together so memories can wire up over time. On a replica that makes each recall a few network round-trips on top of the local search. If that matters more to you than learned associations, TETHER_ASSOC=0 makes recall read-only again.
The keyword arm is SQLite FTS5 over title, body and tags, ranked by bm25. Ask in plain language: a memory that contains *some* of the query's words is a hit, and one that contains more of them ranks higher, so "how do we run the integration tests?" finds the note that says "pytest runs the tests" (common function words are ignored). The index stems English words, so tests matches test and deciding matches decided. Stemming is English-only; turn it off for a store in another language and tether rebuilds the index on the next start.
| Var | Default | Effect |
|---|---|---|
TETHER_FTS_STEMMING | on | set 0/false/off to index words exactly as written |
Measured on the LoCoMo long-conversation benchmark (one memory per dialogue turn, 1,536 questions, "did recall return the turns that answer it" in the top 10), the keyword arm alone finds the evidence for 61% of questions, against 54% for a textbook BM25 over the same text. That harness ships in the repo — see Benchmarks.
By default recall is hybrid: keyword (FTS5) results are fused with semantic (vector) results, so a query finds relevant memories even when the exact words differ ("automobile" recalls a note about your "car"). Semantic recall runs a small static embedding model locally — no network, no API key, nothing to hang on. Install the extra:
pip install 'tether-memory[semantic]'
Without the extra (or with TETHER_SEMANTIC=0), tether runs keyword-only FTS5 — semantic is a pure add-on and never a requirement. The first run embeds existing memories once (a one-time backfill); after that it is incremental.
Environment:
| Var | Default | Effect |
|---|---|---|
TETHER_SEMANTIC | on | set 0/false/off to force keyword-only recall |
TETHER_EMBEDDING_MODEL | minishlab/potion-base-8M | override the local static model |
tether keeps a superseded fact rather than overwriting it: when a memory is replaced, the old one is marked no longer current (retained for history) and excluded from recall and the boot index. Recall also gently favors more recent facts. Two opt-in behaviors go further:
| Var | Default | Effect |
|---|---|---|
TETHER_CONSOLIDATE | off | on (1/true) merges a near-duplicate on write — supersedes the old fact instead of fragmenting the store (needs the [semantic] extra) |
TETHER_DEDUP_THRESHOLD | 0.92 | cosine similarity required to treat two facts as duplicates |
TETHER_DECAY_HALF_LIFE_DAYS | off | set a positive number to exponentially down-rank older facts in recall |
TETHER_AUTHOR | device id | attribution recorded on each memory |
Consolidation never deletes — forget soft-deletes (see Tools), and only the admin CLI's purge is permanent. All of this degrades to plain keyword recall when the semantic extra is absent.
recall doesn't just return keyword/semantic matches — it follows a usage graph to related memories, so asking about one thing surfaces its connected context. The graph's edges come from three local, deterministic sources — no LLM, no network:
[semantic] extra),link() verb,Every hit carries a via receipt saying why it surfaced (a direct match, or the edge it came through), and two optional recall args tune it:
| Arg / var | Default | Effect |
|---|---|---|
budget (per call) | TETHER_RECALL_BUDGET | how far to follow associations; 0 = direct matches only |
session (per call) | time-bucketed | group related recalls so they prime each other |
TETHER_ASSOC | on | set 0/false/off for plain keyword+semantic recall |
TETHER_RECALL_BUDGET | 8 | default association breadth |
TETHER_PROTECT_HEAD | 8 | how many top direct hits are locked above associations |
| TETHER_SEED_FLOOR | 0.35 | minimum cosine similarity a semantic hit needs to seed an associative wa
冒頭だけを表示しています。続きはリポジトリで読めます