rikkahub-history-mcp
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., "@rikkahub-history-mcpsearch my conversations for 'MCP server'"
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.
RikkaHub History MCP
A read-only MCP bridge for searching conversations from the official RikkaHub app through its Web API. It does not require a modified APK, root access, or Room database migration.
Features
recent_conversations— list recent conversations with lightweight metadata.search_conversations— use RikkaHub's built-in full-text index.get_conversation_context— read a bounded window around a search hit.Reads only the currently selected message branch.
Returns USER/ASSISTANT text only; reasoning, tool calls/results, and attachments are omitted.
Resolves
rikkahub.localwith mDNS, so a phone DHCP address change normally needs no reconfiguration.Automatically refreshes RikkaHub's Web JWT.
Streamable HTTP mode can be protected with a separate Bearer token.
Related MCP server: reddit-mcp
Requirements
Python 3.10+
RikkaHub Web Server enabled and reachable on the same LAN
RikkaHub Web JWT/password enabled (recommended)
Install
python -m venv .venv
# Windows
.venv\Scripts\python -m pip install -e .
# Linux/macOS
.venv/bin/python -m pip install -e .Configure RikkaHub Web
In RikkaHub, enable the Web Server and set an access password. The default Web port is 8080.
The bridge first tries:
http://rikkahub.local:8080It re-resolves mDNS after failures and can retain the last successful phone IP as a short-lived fallback.
Run with Streamable HTTP
Copy start_http.example.ps1 to the ignored start_http.ps1, then replace its placeholders. Alternatively, set the variables from .env.example in your process environment.
Important variables:
Variable | Description |
| RikkaHub Web access password |
| Optional explicit RikkaHub Web base URL |
| RikkaHub Web port, default |
| Optional last-successful-IP state file |
|
|
| MCP bind address, default |
| MCP port, default |
| Bearer token protecting the MCP endpoint |
| Comma-separated allowed Host headers, e.g. |
| Comma-separated allowed Origins |
Start:
.\start_http.ps1Then configure RikkaHub MCP:
Transport: Streamable HTTP
URL: http://<computer-lan-ip>:8766/mcp
Header: Authorization: Bearer <RIKKAHUB_HISTORY_TOKEN>RIKKAHUB_HISTORY_ALLOWED_HOSTS must include the host and port used in that URL. DNS rebinding protection remains enabled.
STDIO mode
RIKKAHUB_WEB_PASSWORD=... rikkahub-history-mcpSTDIO is the default when RIKKAHUB_HISTORY_RUN_MODE is not set.
Security
The MCP tools are read-only.
Do not commit
start_http.ps1,.env, passwords, JWTs, or Bearer tokens.Bind to a private LAN only and restrict the port with a host firewall.
The official RikkaHub Web API itself includes write endpoints; this bridge deliberately exposes none of them.
License
MIT
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.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables fetching and reading Reddit content such as posts, comments, and subreddit listings via the MCP protocol.Last updated30MIT
- Alicense-qualityDmaintenanceA read-only MCP server that connects to the Reddit Data API to search posts, browse subreddits, read comments, view user profiles, and check trending content through the Model Context Protocol.Last updated271MIT
- FlicenseAqualityCmaintenanceRead-only MCP server for finding Discord messages. It enables searching guild messages, locating messages from jump URLs, and reading context around results.Last updated71
- Flicense-qualityBmaintenanceRead-only MCP server for Kan's FxTwitter API proxy, enabling public X/Twitter search and retrieval.Last updated
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Reddit MCP — public Reddit data via JSON endpoints (no auth required)
Read-only MCP server for searching Japan government procurement bid information from the KKJ portal.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Photalia/rikkahub-history-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server