Personal Brain
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Personal BrainI met Maya from Supabase at AI Engineer Summit, runs developer events"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Personal Brain
Turn your LinkedIn network into a graph you can ask questions, stored in FalkorDB, and fly through it in 3D.
After every event you meet people. Two weeks later you forget who they were, what they work on, and who could introduce you to whom. Personal Brain keeps that memory as a graph: people, companies, schools, skills, events, topics, investors and cities, plus inferred "who knows whom" links.
What the viewer does:
Shows your whole network as a galaxy in WebGL (tested with 19k nodes and 117k edges), with a 2D / 3D toggle.
Time-lapse: watch your network grow, connection by connection, with your events popping up.
Ask the graph: a question types itself, then its Cypher query, then the answer lights up with light pulses along the paths. Example questions:
Which founders did I meet at events this year?
Who in my network works at big tech?
Who can warm-intro me to people at well-funded startups?
Which startups host AI events, and who do I know there?
Who should I invite to my podcast on agents and memory?
Which upcoming agent events can I speak at through people I know?
Shortlists: ranked tables (and CSVs) of co-hosts & sponsors, podcast guests, upcoming events to speak at, and organizers you know. Every row says why it ranks there.
Remember: type "Met Maya from Supabase at AI Engineer Summit, runs developer events" and it is written to FalkorDB live and appears in the galaxy.
Demo mode: the whole show hands-free (press
D).Agent memory (MCP): Claude Code, or any MCP client, can find people, ask the graph, remember who you met and forget on request.
Everything runs on your laptop. The viewer works offline (three.js is vendored).
Quick start: a sample network in 5 minutes
sample_data/ is a made-up network (241 invented people, startups and events) in the same file formats as a real LinkedIn export, so you can try everything before you download your own data.
python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
cp .env.example .env # paste your FalkorDB Cloud URL into FALKORDB_URL
.venv/bin/python spike/load_graph.py --sample --cloudA free FalkorDB Cloud instance is the fastest start. To run FalkorDB locally instead, start it with Docker and leave out --cloud:
docker run -p 6379:6379 -p 3000:3000 -it --rm falkordb/falkordb:latestThen open Claude Code in this folder. It finds .mcp.json and asks to start the personal-brain server. Try:
"Who in my network works at Kestrel Graph?"
"Who could introduce me to someone at a well-funded startup?"
"I met Oskar Mensah at the Graph & RAG Meetup. He's building agent memory." (There are two Oskar Mensahs, so it asks which one.)
"Forget that note."
Related MCP server: Mnemosyne
Use it as your agent's memory (MCP)
spike/mcp_server.py gives your agent four tools on one graph:
Tool | What it does |
| Saves who you met, where they work and where you met. Matches the name to people already in the graph. When it is not sure which person you mean, it saves nothing and asks. A new company ends the old job and keeps it in the history. |
| Finds people, companies and events by name, typos and missing accents included. |
| Runs a read-only Cypher query (FalkorDB refuses writes), with a 5 second limit and at most 50 rows. The tool description carries the schema. |
| Forgets one note and everything it added, one relationship, or one person. A forgotten person stays out of future rebuilds. |
Every write hangs off a Note node, so you can trace each fact to the note that made it. Claude Code reads .mcp.json. For another client, run .venv/bin/python spike/mcp_server.py (stdio) from this folder. PB_GRAPH picks the graph (default network).
Check it end to end on a throwaway graph: .venv/bin/python tests/test_memory.py --cloud.
How it works
LinkedIn data export ──┐
├─> load_graph.py ──> FalkorDB ──┬─> mcp_server.py ──> your agent
data/enriched/ ────────┘ (graph "network") ├─> export_graph.py ──> layout_graph.py ──> viewer
(optional) ├─> export_stories.py, export_shortlists.py ──> viewer
└─> server.py (live "Remember" API) ──> viewerYour LinkedIn export gives connections (with the date you connected), your messages (only counts are used, never text), your posts, jobs and schools.
Optional files in
data/enriched/add each connection's full job history, schools and skills, company funding, and upcoming events. They use the JSON format ofsample_data/enriched/. This repo has no tool to collect them; everything works without them.load_graph.py builds the graph and infers:
KNOWSbetween two connections who worked at the same company or studied at the same school for 3+ months at the same time (at big schools, same start year only), who work at the same company now (when there is no job history), or who are in the same group chat.Eventnodes: days when you added 5+ connections are probably events. Name them inmy_brain.json.Topicinterests (AI agents, agent memory, knowledge graphs, founders, investors, podcasts…) from headlines and skills.With enriched files only:
Years of experience per technology from job titles and descriptions.
well_fundedstartups: private, active, at most 5,000 people, and a Series round or 8+ investors.Cityfrom each profile's location, at metro level ("Berlin Metropolitan Area" and "Berlin" are one city; Palo Alto and San Jose are "SF Bay Area").Who hosts each upcoming event: a host who is your connection (LinkedIn match), or a company where you know people (host is the company, a host works there, or the title names it, like "Notion x Clover").
export_graph.py + layout_graph.py export the graph to JSON and compute a 2D layout (igraph DrL). In 3D, each node type sits on its own layer.
export_stories.py runs the "Ask the graph" Cypher queries on FalkorDB and saves the answers and timings for the viewer.
export_shortlists.py ranks co-hosts, podcast guests and places to speak with a simple score you can read and change.
Graph schema
Nodes | Edges |
|
|
Build your own
You need Python 3.10+ and FalkorDB (a free FalkorDB Cloud instance, or Docker).
1. Get your LinkedIn data. LinkedIn > Settings > Data privacy > Get a copy of your data. Two choices:
Connections only: usually ready in about 10 minutes. You get people, their current company and title, and the day you connected. That is enough for the graph, events and the agent tools.
Download larger data archive: ready in about a day. It adds your messages (only counts are used), posts, jobs and schools.
Unzip it into this folder (the folder name contains LinkedInDataExport).
Or start empty. Skip the import. The MCP server creates you in an empty graph, and the graph grows as you tell your agent who you met.
2. Install.
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
cp .env.example .env # add your FALKORDB_URL
cp my_brain.example.json my_brain.json # optional: name your events, list competitorsFor local FalkorDB instead of Cloud:
docker run -p 6379:6379 -p 3000:3000 -it --rm falkordb/falkordb:latestThen leave out --cloud in the commands below.
3. Build the graph and the viewer data.
.venv/bin/python spike/load_graph.py --cloud
.venv/bin/python spike/export_graph.py --cloud
.venv/bin/python spike/layout_graph.py --dims=2
.venv/bin/python spike/export_stories.py --cloud
.venv/bin/python spike/export_shortlists.py --cloud4. Open it.
./spike/serve_viewer.shOpen http://127.0.0.1:8765 (shortlists: http://127.0.0.1:8765/shortlists.html). Keys: 2 / 3 switch views, T time-lapse, B big bang, D demo, Esc reset.
To explore in the FalkorDB Browser instead, see spike/demo_queries.cypher.
Your data stays yours
The LinkedIn export, everything in
data/,.envandmy_brain.jsonare in.gitignore. Never commit them.Message text is never read into the graph, only how many messages you exchanged with each person.
data/viewer/graph.jsonand the shortlists hold real names. Share screenshots, not those files.The local server listens on
127.0.0.1only and serves onlydata/viewer/.
Files
Path | What it does |
| Builds the FalkorDB graph and all inferred links |
| Exports every node and edge to |
| Precomputes the layout |
| The "Ask the graph" questions and their Cypher |
| Ranked shortlists: co-hosts & sponsors, podcast guests, places to speak |
| The shortlists page (filter, download CSV) |
| Serves the viewer and the live Remember / Forget API |
| The memory itself: remember, find, ask, forget (used by the MCP server and the viewer) |
| The MCP server for Claude Code and other agents |
| Tells Claude Code how to start the MCP server |
| End-to-end check of the memory tools on a throwaway graph |
| The made-up sample network |
| Writes |
| The WebGL viewer (three.js r170, MIT, vendored) |
| Queries to paste into the FalkorDB Browser |
This is a demo-quality build made at a hackathon, not a product.
License
MIT, see LICENSE. three.js in spike/viewer/vendor/ is MIT too (its own LICENSE file).
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.
- mcpOAuthcom.curviate
LinkedIn actions for AI agents: search, messaging, posts and invites, as hosted MCP tools.
- KogniteOAuthdev.kognite
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to store, retrieve, and connect information in a Neo4j graph database as persistent memory, with semantic relationships, natural language search, and temporal tracking across conversations.9100 npm69MIT
- AlicenseAqualityAmaintenanceProvides persistent, graph-based memory for AI agents via MCP, enabling semantic search, wikilink traversal, reminders, and injection protection.934Apache 2.0
- AlicenseNot gradedqualityDmaintenanceExposes a Neo4j graph database as MCP tools, enabling AI agents to run read and write Cypher queries.MIT
- AlicenseNot gradedqualityAmaintenanceProvides persistent, graph-based memory for AI agents using Neo4j and vector embeddings, enabling semantic recall across sessions via MCP.1Apache 2.0