Backstory: search your data exports locally
概要
作者による説明(英語の原文)
Search your Google, Telegram, Spotify and Instagram exports locally. Fully offline.
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "backstory": { "command": "dnx", "args": [ "Backstory", "--yes", "serve" ] } } }Claude を終了してもう一度開く
試してみる
Backstory: search your data exports locally を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Backstory: search your data exports locally を使っていると言うか、回答に Backstory: search your data exports locally のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Backstory: search your data exports locally につなげません
Backstory: search your data exports locally はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Backstory: search your data exports locally につなげるアプリを使う
- キー不要、インストール不要 · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- キー不要、インストール不要
- キー不要、インストール不要
- キー不要、インストール不要
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
- Exa✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
キー不要、インストール不要
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add backstory -- dnx Backstory --yes serveClaude Code で /mcp と入力
Backstory: search your data exports locally が一覧にあり、接続済みと表示されれば OK です
試してみる
Backstory: search your data exports locally を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Backstory: search your data exports locally を使っていると言うか、回答に Backstory: search your data exports locally のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
キー不要、インストール不要
Cursor の AI チャットを Agent モードで開く
試してみる
Backstory: search your data exports locally を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Backstory: search your data exports locally を使っていると言うか、回答に Backstory: search your data exports locally のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
キー不要、インストール不要
VS Code の AI チャットを Agent モードで開く
試してみる
Backstory: search your data exports locally を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Backstory: search your data exports locally を使っていると言うか、回答に Backstory: search your data exports locally のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add backstory -- dnx Backstory --yes serveClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"backstory": {
"command": "dnx",
"args": [
"Backstory",
"--yes",
"serve"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"backstory": {
"command": "dnx",
"args": [
"Backstory",
"--yes",
"serve"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"backstory": {
"type": "stdio",
"command": "dnx",
"args": [
"Backstory",
"--yes",
"serve"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 接続方法
- パソコンで動く
- トランスポート
- stdio
- 最新バージョンi
- 1.1.0
- レジストリ公開日i
- 2026年6月29日
- コードの最終更新i
- 2026年6月29日
- 作者
- magna-nz
- パッケージ
nuget: Backstory- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント magna-nz で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:4 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5938件のうち88%よりスターが多い
- このカテゴリのほかの5938件のうち19%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5938件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Backstory: search your data exports locallyは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は4 か月前、最新バージョン(1.1.0)がレジストリに届いたのは4 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンに.NETも必要です。
代わりに使えるものは?
同じカテゴリには:Ruflo, Context7, Metabase
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Backstory
Search all your data exports in one place. It runs entirely on your own computer, and nothing ever leaves your PC.
You can download your data from Google, Telegram, and most other services. The problem is what you get back: a pile of JSON and CSV files that are nearly impossible to read. Backstory pulls those exports into one local database and lets you search across all of them at once. You can search from the command line or connect it to an AI assistant over MCP.
Nothing is sent to the cloud. Your data stays in a SQLite file on your machine. That is the main reason this tool exists, since this is the most personal data you have.
Contents
- What it can do
- Sources
- Quick start
- Use it from an AI agent
- How it works
- Commands
- Search quality
- MCP tools
- Privacy
- License
What it can do
- Import exports from Google, Telegram, Spotify, and Instagram.
- Search everything as one timeline, by meaning or by keyword.
- Match the same person or place across different sources.
- Answer questions from an AI agent, like "when did I last message Sarah about dinner?".
- Show you how to export your data, then import it automatically when it finishes downloading.
- Report a benchmark so you can see how well the search actually works.
Sources
Each source is a small adapter that turns an export into events. Here is what works today and what each one pulls in.
| Source | What it imports | How to export it |
|---|---|---|
| Google Takeout | Search history, YouTube history, saved places, location history | backstory fetch google |
| Telegram | Messages, contacts | backstory fetch telegram |
| Spotify | Listening history, podcasts, searches | backstory fetch spotify |
| Direct messages, posts, comments, searches | backstory fetch instagram |
Adding a new source means writing one adapter. Nothing else changes.
Quick start
You need the .NET 10 SDK. It runs on Linux, macOS, and Windows.
Install as a global tool:
dotnet tool install -g Backstory
Or build from source today:
git clone https://github.com/magna-nz/backstory && cd backstory
dotnet build Backstory.slnx -c Release
Get your data in. Backstory shows you how to export it, then imports it for you when it lands in your Downloads folder:
backstory fetch google # or: telegram
backstory watch
You can also point it at a file or zip yourself. Takeout zips are unpacked for you, including the multi-part ones:
backstory import ~/Downloads/takeout-20240101.zip
backstory import ~/Downloads/telegram-export/result.json
Then search:
backstory search "dinner plans with sarah"
backstory search "trip to japan" --from 2023-01-01
Use it from an AI agent
Backstory speaks MCP, so any MCP client (Claude and others) can query your timeline. Start the server:
backstory serve
Register it with one command:
claude mcp add backstory -- backstory serve
Or add it to your MCP config directly:
{
"mcpServers": { "backstory": { "command": "backstory", "args": ["serve"] } } }
Now you can ask the agent things like "what was that ramen place I looked up in Tokyo?" and it searches across both your Google and Telegram data to answer.
How it works
Every export format is messy in its own way, so a small adapter handles each one and converts it into the same shape: events on a timeline, plus the people and places they mention. From there everything works the same. Storage is SQLite with a full-text index for keywords and a vector index for meaning. A search runs both and combines the results.
flowchart TD
TG["Telegram result.json"]:::src GT["Google Takeout JSON / CSV"]:::src
TG --> AD GT --> AD
AD["Adapters parse and normalize "]:::ingest NR["Normalizer events and entities "]:::ingest ER["Entity resolution link people and places "]:::ingest AD --> NR --> ER
ER --> FTS[("SQLite + FTS5 timeline, keyword")]:::store ER --> VEC[("Vector index meaning")]:::store
FTS --> HQ VEC --> HQ HQ["Search keyword + meaning "]:::query
HQ --> CLI["CLI"]:::iface HQ --> MCP["MCP server"]:::iface
classDef src fill:#FAECE7,stroke:#993C1D,color:#4A1B0C; classDef ingest fill:#EEEDFE,stroke:#534AB7,color:#26215C; classDef store fill:#E1F5EE,stroke:#0F6E56,color:#04342C; classDef query fill:#E1F5EE,stroke:#0F6E56,color:#04342C; classDef iface fill:#F1EFE8,stroke:#5F5E5A,color:#2C2C2A;
There is a full technical writeup at magna-nz.github.io/backstory and in SPEC.md.
Commands
| Command | What it does | |||
|---|---|---|---|---|
| `fetch google\ | telegram\ | spotify\ | instagram` | Show how to export your data, and open the page |
watch [--dir ] | Import exports automatically as they download to ~/Downloads | |||
import | Import an export (file, folder, or Takeout zip) | |||
search " " | Search the timeline. Filters: --from --to --source --limit | |||
timeline | List events in time order, with the same filters | |||
entity " " | Look up a person or place | |||
stats | Counts by source and type, and the embedder in use | |||
serve | Run the MCP server | |||
model fetch | Download the semantic search model (optional, one time) | |||
eval | Run the benchmark |
The database lives at $BACKSTORY_DB, or ~/.backstory/backstory.db by default.
Search quality
There are two ways to turn text into vectors, and you can switch between them:
- Hashing (default). No setup, fully offline, matches on the words that appear. Good enough to get started.
- ONNX MiniLM. Real semantic search that matches on meaning. Run
backstory model fetchonce (about 90 MB) and Backstory uses it automatically. This is what lets a search for "japan vacation" find a message about a "flight to Tokyo".
You can measure the difference yourself with backstory eval. It loads sample data and reports two numbers: how much of the data was parsed, and how often the right event shows up in the top five search results.
| Embedder | Data parsed | Right answer in top 5 |
|---|---|---|
| Hashing (default) | 100% | 87.5% |
| ONNX MiniLM | 100% | 100% |
MCP tools
| Tool | What it returns |
|---|---|
search_timeline | Ranked events for a natural-language query |
get_events | Full event records by id, including a pointer to the source |
lookup_entity | A person or place by name |
summarize_period | Every event in a date range, for the agent to summarize |
list_sources | The sources imported and how many events each has |
Privacy
Everything runs locally and there is no telemetry. The only time Backstory touches the network is when you run backstory model fetch to download the search model, and that step is optional. Your data never leaves your machine. The .gitignore is set up so a database or an export can't be committed by accident.
License
MIT. See LICENSE. Built on the ModelContextProtocol SDK, ONNX Runtime, and all-MiniLM-L6-v2.