relayhistory
relayhistory is an MCP server by AgentWorkforce. Sync & search Claude Code + Codex CLI conversation history in SQLite. Zero dependencies. It has 13 GitHub stars and ranks #348 of 630 in Databases by stars.
- Category
- Databases
- Author
- AgentWorkforce
- GitHub stars
- 13
- This week
- Tracking since 18 Oct 2026
- Weekly downloads
- 5,475
- Language
- Rust
- License
- MIT (open source)
- Last update
- 2026-10-22 (2 days ago)
- Links
- Sourcenpm
How to install relayhistory
relayhistory is published on npm as ai-hist, and it depends on @modelcontextprotocol/sdk. These steps assume it runs as a local stdio server, which is the usual setup.
- Check the README. Confirm the start command and note any API keys or environment variables it needs (pass them with
-e KEY=valueor anenvblock). You need Node.js fornpx. - Add it to Claude Code from a terminal:
claude mcp add relayhistory -- npx -y ai-hist - Or add it to Cursor or Claude Desktop in
.cursor/mcp.jsonorclaude_desktop_config.json:{ "mcpServers": { "relayhistory": { "command": "npx", "args": [ "-y", "ai-hist" ] } } } - Restart the client and check it. Run
claude mcp list, or open the client's MCP settings, and confirm relayhistory and its tools are listed. The install guide covers VS Code and Codex.
Also listed in
Maintain this project? Get it featured ($99/mo, pinned at the top of Databases) or see what featuring includes.
Report a problem with this listing
Frequently asked questions
What is relayhistory?
relayhistory is an MCP server by AgentWorkforce in the Databases category. Sync & search Claude Code + Codex CLI conversation history in SQLite. Zero dependencies. It has 13 GitHub stars and ranks #348 of 630 in Databases by stars. It is written in Rust. It is licensed under MIT. It was last updated 2 days ago.
Is relayhistory free and open source?
Yes. relayhistory is published under the MIT license, so you can run, modify and self-host it at no cost. If it connects to a paid service, that service's own pricing and API terms still apply. Check the repository for the exact license text before using it commercially.
What are the alternatives to relayhistory?
Other Databases projects on MCP Harbor include Chat2DB, dbx, mcp-toolbox. Each alternative links to its own page with stars, license and recent activity. The Databases category ranks all 630 by stars, and you can re-sort it by growth this week.
Alternatives to relayhistory
All 630 Databases MCP servers →
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.