
Backstory: search your data exports locally
io.github.magna-nz由 GitHub 帳號 magna-nz 發布v1.1.0更新於 Oct 24, 2026
Search your Google, Telegram, Spotify and Instagram exports locally. Fully offline.
概覽
本機 MCP 伺服器,將 Google、Telegram、Spotify 和 Instagram 的資料匯出索引成可搜尋的時間軸,供助理查詢。
- 可以做什麼
- 依關鍵字或語意搜尋統一時間軸,支援日期、來源和數量篩選,並依時間順序列出事件(search_timeline)。依 id 取得完整事件記錄,包含指回來源的指標(get_events)。跨來源依名稱查找人物或地點(lookup_entity)。取出某個日期範圍內的全部事件,供助理摘要(summarize_period)。列出已匯入的來源及各自事件數(list_sources)。
- 適用情境
- 適合已下載個人資料匯出、希望助理跨這些資料回答問題(例如上次傳訊息給某人是什麼時候、旅行中查過哪家店),同時不想把資料上傳到任何地方的情況。
- 執行需求
- 透過 .NET 10 SDK 在本機以本機程序執行,可安裝為全域 dotnet 工具或從原始碼建置;支援 Linux、macOS 和 Windows。需先用命令列工具匯入匯出資料。資料庫位於 BACKSTORY_DB 路徑或家目錄下的預設資料夾。選用的語意搜尋需一次性下載約 90 MB 的模型。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Backstory: search your data exports locally,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Backstory
Search all your data exports in one place. It runs entirely on your own computer, and nothing ever leaves your PC.
[CI] [NuGet] [Downloads] [.NET] [MCP] [Glama] [Platforms] [License: MIT] [Docs]
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.
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:
Or build from source today:
Get your data in. Backstory shows you how to export it, then imports it for you when it lands in your Downloads folder:
You can also point it at a file or zip yourself. Takeout zips are unpacked for you, including the multi-part ones:
Then search:
Use it from an AI agent
Backstory speaks MCP, so any MCP client (Claude and others) can query your timeline. Start the server:
Register it with one command:
Or add it to your MCP config directly:
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.
There is a full technical writeup at magna-nz.github.io/backstory and in SPEC.md.
Commands
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.
MCP tools
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.
來源:README.md,提交 9822d4f
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
