Hotkv
FreeNot checkedA Model Context Protocol (MCP) server for HotKV, a RESP2/RESP3-compatible in-memory data store with built-in AI and LLM-serving features. Lets AI agents read an
About
A Model Context Protocol (MCP) server for HotKV, a RESP2/RESP3-compatible in-memory data store with built-in AI and LLM-serving features. Lets AI agents read and write keys, agent memory, prompts and RAG documents.
README
A Model Context Protocol server for HotKV, a RESP2/RESP3-compatible in-memory data store with built-in AI and LLM-serving features (semantic and prompt caching, agent memory, RAG, feature store, rate limiting, time series and more). It lets an AI assistant or agent (Claude, Cursor, VS Code, your own) read and write keys, keep conversation memory and notes, log events, store prompt templates and search documents in a HotKV server.
- A fixed set of 28 tools. There is no tool that runs an arbitrary command, so an agent cannot flush a database, change the server's configuration or read the keys of other tenants.
--read-onlyremoves every write tool, so the agent cannot even see them.--namespaceconfines the agent to one prefix: it can only use and list names under it.- Results are capped (
--max-value-bytes,--max-items), and a cut value is flaggedtruncated, so a huge value cannot flood the model's context. - stdio for local clients, streamable HTTP for shared use.
Written against HotKV server 0.3.0 and the official hotkv-client Python package.
Install
pip install hotkv-mcp
or run it without installing, with uv:
uvx hotkv-mcp --url hotkv://localhost:6379
Python 3.10 or newer.
Connect a client
The server speaks stdio by default, so a client launches it as a subprocess.
Claude Code
claude mcp add hotkv -- uvx hotkv-mcp --url hotkv://localhost:6379
Claude Desktop, Cursor and other clients that read an mcpServers file
{
"mcpServers": {
"hotkv": {
"command": "uvx",
"args": ["hotkv-mcp", "--read-only"],
"env": { "HOTKV_URL": "hotkv://:your-password@localhost:6379" }
}
}
}
Keep the password in HOTKV_URL (or the client's secret store) and not on the command line,
where other users of the machine can see it. Use hotkvs:// for a TLS connection.
Options
| Option | Environment | Meaning |
|---|---|---|
--url URL |
HOTKV_URL |
Server to use. Default hotkv://127.0.0.1:6379. hotkvs://, redis:// and rediss:// also work. |
--read-only |
HOTKV_MCP_READ_ONLY=1 |
Offer read tools only. |
--namespace PREFIX |
HOTKV_MCP_NAMESPACE |
Store everything under PREFIX:; the agent never sees the prefix and cannot reach other names. |
--max-value-bytes N |
HOTKV_MCP_MAX_VALUE_BYTES |
Cut longer values. Default 65536. |
--max-items N |
HOTKV_MCP_MAX_ITEMS |
Most keys, rows or hits per call. Default 200. |
--transport |
stdio (default) or streamable-http. |
|
--host, --port |
Bind address for streamable-http. Default 127.0.0.1:8000, path /mcp. |
Command line options win over the environment.
Namespaces are plain prefixes: give each agent a namespace that is not itself a prefix of another
(agent-a and agent-b, not agent and agent:b), or the shorter one can reach the longer one's names.
Tools
| Group | Tools |
|---|---|
| Server | server_info |
| Keys | get, set, delete, key_info, scan |
| Hashes | hash_get, hash_set |
| Lists | list_range, list_push |
| Conversation memory | memory_append_message, memory_get_messages, memory_clear_messages |
| Working notes | memory_set_note, memory_get_note, memory_list_notes |
| Event log | memory_log_event, memory_query_events |
| Rolling summary | memory_set_summary, memory_get_summary |
| Prompt registry | prompt_save, prompt_get, prompt_versions, prompt_list |
| Document search | rag_create, rag_ingest, rag_search, rag_list |
Each tool says in its MCP annotations whether it only reads, writes, or deletes, so clients can
ask for approval before the destructive ones. With --read-only the tools that write
(set, delete, hash_set, list_push, the memory_ tools that add or clear, prompt_save,
rag_create, rag_ingest) are not registered at all.
The memory, prompt and document search tools use HotKV's AI engines, which need a HotKV license
that includes them. Without one the tool returns "This HotKV server is not licensed for that
feature" and the key tools keep working. rag_search ranks by keyword relevance, so it needs no
embedding model.
Running over HTTP
hotkv-mcp --transport streamable-http --host 127.0.0.1 --port 8000
The server listens on /mcp. It does not authenticate callers. Keep it on localhost, or put it
behind a reverse proxy that does, and give it its own --namespace and --read-only where you can.
Starting it on another address prints a warning.
Development
pip install -e ".[dev]"
python -m pytest tests # unit tests; no server needed
HOTKV_TEST_URL=hotkv://127.0.0.1:6379 python -m pytest tests # also the integration tests
The integration tests need a HotKV server licensed for the AI engines and create and delete keys with a random prefix. Run them against a throwaway server.
Contributing
Bug reports and pull requests are welcome. See CONTRIBUTING.md.
Support
- Bugs and feature requests: GitHub issues
- Questions and commercial support: [email protected]
- Security vulnerabilities: see SECURITY.md
License
Licensed under the Apache License, Version 2.0: see LICENSE and NOTICE.
Trademarks and affiliation
"HotKV" is a trademark of HotKV Ltd; the license does not grant rights to use it. The HotKV server is a separate commercial product, and its enterprise commands need a HotKV license.
HotKV is an independent product of HotKV Ltd. It speaks the RESP protocol and implements many Redis commands so that existing tools and client habits carry over, but it is not Redis, Valkey, Dragonfly or KeyDB, and this package is built for and tested against HotKV. HotKV Ltd is not affiliated with, endorsed by or sponsored by Redis Ltd., the Valkey project, DragonflyDB or KeyDB. Redis is a registered trademark of Redis Ltd. Valkey, Dragonfly, KeyDB and all other product and company names are trademarks of their respective owners; they are used here only to describe protocol and command compatibility. "Model Context Protocol" and "MCP" refer to the open protocol published at modelcontextprotocol.io.
Install Hotkv in Claude Desktop, Claude Code & Cursor
unyly install hotkvInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add hotkv -- uvx hotkv-mcpStep-by-step: how to install Hotkv
FAQ
Is Hotkv MCP free?
Yes, Hotkv MCP is free — one-click install via Unyly at no cost.
Does Hotkv need an API key?
No, Hotkv runs without API keys or environment variables.
Is Hotkv hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Hotkv in Claude Desktop, Claude Code or Cursor?
Open Hotkv on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Hotkv with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
