chatgpt-kg
Provides a knowledge graph search tool built on Neo4j, enabling AI agents to query personal knowledge graphs from ChatGPT conversations stored in Neo4j.
Click on "Install 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., "@chatgpt-kgsearch my past conversations about microservices"
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.
chatgpt-kg
Builds a personal knowledge graph from selected ChatGPT conversations (stored in Neo4j) and exposes it to Claude Code as an on-demand MCP search tool.
Setup
Install Neo4j Desktop, create a local database, note its password.
python -m venv .venv && source .venv/bin/activate && pip install -e ".[dev]"cp config.example.toml config.tomland edit as needed.export KG_NEO4J_PASSWORD=...
Related MCP server: Claude Code Memory Server
Usage
Drop a ChatGPT export (
conversations.jsonor its zip) intoinbox/.kg ingest— build/update the graph.kg query "resume"— search from the terminal.kg stats— counts.kg rebuild— wipe and rebuild.
Claude Code integration
Ensure Neo4j is running and the graph is built (
kg ingest).Keep
.mcp.jsonin the project root (it points Claude Code at the server's Python and module). The server reads the Neo4j password from.env, so no secret goes in.mcp.json.In Claude Code, run
/mcpto confirm thechatgpt-kgserver is connected.Ask a question about prior ChatGPT work; Claude calls
search_knowledge_graphwhen relevant.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aaditya-git/chatgpt-kg'
If you have feedback or need assistance with the MCP directory API, please join our Discord server