whimsicality-mcp
OfficialClick 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., "@whimsicality-mcp restore my context and list my saved facts from the last session"
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.
whimsicality-mcp (deprecated)
This package is superseded by whimsicality-db.
whimsicality-db is a strict superset of this server, built on SQLite + FTS5 instead of JSON files and hand-rolled BM25. It adds session tracking, event logging, todo management, and a tagged context index — all backed by SQLite's WAL mode for concurrent readers and native FTS5 for search.
Migration
Install whimsicality-db and use the db_import tool to import your existing whimsicality-mcp data:
{
"mcpServers": {
"whimsicality-db": {
"command": "npx",
"args": ["whimsicality-db"]
}
}
}Then call db_import with the path to your old storage directory:
db_import({ source_dir: "~/.whimsicality/mcp-storage" })Your memory entries, documents, and cache chunks will be imported into the SQLite database. After verifying, you can remove the old storage directory.
Related MCP server: Memory MCP
Why the switch?
This server used a JSON file for memory and docs, with a hand-rolled lockfile protocol, atomic-rename discipline, byte-bounded LRU, garbage collector, and BM25 implementation. SQLite gives you WAL, transactions, page cache, no orphans, and a battle-tested BM25 for free. The result is faster, more reliable, and scales to millions of entries instead of thousands.
License
MIT
Available Tools
14 toolswhim_compactA
Truncate conversation history to fit a token budget. Keeps first and last messages intact, truncates the middle. This is truncation, not summarization.
Inputs: messages (required), maxTokens.
whim_context_deleteB
Delete a context slot.
Inputs: key (required), namespace.
whim_context_getB
Retrieve text from a named context slot.
Inputs: key (required), namespace.
whim_context_listB
List all context slot keys.
Inputs: namespace.
whim_context_setA
Store text in a named context slot. Use for persistent memory that survives across agent sessions.
Inputs: key (required), text (required), namespace.
whim_facts_getC
Retrieve a named fact.
Inputs: name (required).
whim_facts_listC
List all saved fact names.
Inputs: no named parameters.
whim_facts_saveB
Save a named fact. Facts are key-value pairs that persist across sessions.
Inputs: name (required), value (required).
whim_plan_getC
Retrieve a saved plan.
Inputs: name.
whim_plan_saveA
Save a plan document. The plan persists across sessions and can be retrieved later by another agent.
Inputs: plan (required), name.
whim_rag_indexB
Index a document for keyword search retrieval.
Inputs: id (required), text (required).
whim_rag_searchB
Search indexed documents by keyword overlap. Returns relevant chunks ranked by word-boundary match score.
Inputs: query (required), topK.
whim_snippet_saveB
Save a reusable code snippet.
Inputs: code (required), name (required), language (required), description.
whim_snippet_searchB
Search saved snippets by keyword overlap.
Inputs: query (required), topK.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have distinct purposes: facts, context slots, RAG search, plans, snippets, and compaction each serve different needs. However, facts and context both act as persistent key-value stores, which could cause some confusion, though the descriptions clarify context as memory and facts as factual data.
The naming follows a consistent pattern of 'whim_<resource>_<action>' for most tools (e.g., whim_facts_get, whim_context_set, whim_rag_search). Minor exceptions include whim_compact, which lacks a resource category, and slight verb placement variations, but overall the pattern is predictable.
14 tools is a reasonable count for a multi-purpose memory and utility server. Each tool covers a distinct functional area, though some areas like facts and context could potentially be merged, but the count is within the well-scoped range and does not feel excessive.
The server covers core operations for facts, context, and RAG, but has notable gaps: no delete for facts, plans, or snippets; no list for plans or snippets; and no way to retrieve a snippet by name (only search). These missing operations may force agents to work around or leave orphaned data.
Maintenance
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Persistent memory for AI agents. Search and store durable facts, preferences and decisions.
Universal persistent memory and knowledge retrieval layer for AI agents and LLMs.
Persistent memory for AI agents: save, search and connect context across tools and sessions.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with persistent, searchable memory that survives across conversations using semantic search, temporal versioning, and smart organization. Enables long-term context retention and cross-session continuity for AI assistants.14-
- FlicenseNot gradedqualityDmaintenanceProvides persistent AI agent memory using a local vector database for long-term semantic storage and short-term session scratchpads. It enables low-latency memory operations including search, storage, and bulk management without external cloud dependencies.-
- AlicenseNot gradedqualityDmaintenanceProvides persistent memory storage for AI agents with full-text search, tagging, and importance levels, enabling agents to store and retrieve memories efficiently.MIT
- AlicenseAqualityCmaintenanceProvides persistent, searchable memory for AI agents, enabling them to retain, recall, and reflect on information across conversations.191MIT