Melchizedek
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| M9K_DB_PATH | No | The path to the SQLite database where memories are stored. | ~/.melchizedek/memory.db |
| M9K_RERANKER | No | Whether the cross-encoder reranker is enabled. | false |
| M9K_LOG_LEVEL | No | The logging level for the server. | warn |
| M9K_NO_DAEMON | No | Set to '1' to disable daemon mode. | 1 |
| M9K_EMBEDDINGS | No | Whether semantic embeddings are enabled. | false |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| m9k_searchA | Search indexed past conversations. Returns compact results with snippets. Results from the current project and session are boosted by default. Use m9k_context or m9k_full to drill down. |
| m9k_contextA | Get a chunk with surrounding context (adjacent chunks in the same session). Use after m9k_search to understand the conversation flow. |
| m9k_fullA | Retrieve full content of chunks by IDs. Use after m9k_search to get complete context. |
| m9k_file_historyA | Find past conversations that touched a specific file. Searches metadata (tool_use file_path) and text content. |
| m9k_errorsA | Find past solutions for an error message. Returns error context + how it was resolved. |
| m9k_similar_workA | Find past work similar to what you're about to do. Use at the start of a complex task to see previous approaches. Unlike m9k_search, this prioritizes chunks with rich metadata (multiple tools used, multiple files touched). |
| m9k_saveA | Manually save a memory note for future recall. Use for important decisions, patterns, or context. |
| m9k_sessionsB | List all indexed sessions, optionally filtered by project. |
| m9k_infoA | Show memory index information: corpus size, search pipeline status, usage metrics, embedding worker state. |
| m9k_configA | View or update plugin configuration. Changes are saved to ~/.melchizedek/config.json and take effect on next server restart. Without arguments, returns current config. |
| m9k_forgetA | Permanently remove a specific chunk from the memory index. Does NOT delete the source JSONL. Use m9k_search() first to find the chunk ID to forget. |
| m9k_delete_sessionA | Delete a session from the index. Removes all chunks and search data. Does NOT delete the source JSONL file. |
| m9k_ignore_projectA | Exclude a project from indexing. Future sessions won't be indexed. Optionally purge existing indexed sessions for this project. |
| m9k_unignore_projectA | Remove a project from the ignore list. Future sessions will be indexed again. Previously purged sessions are NOT restored (requires backfill re-indexation). |
| m9k_restartA | Restart the MCP server. Use after npm run build to load fresh code. The server disconnects; next MCP call auto-reconnects with the new build. |
| __USAGE_GUIDEA | melchizedek v1.0.2 — Persistent memory for Claude Code with hybrid search (BM25 + dual embeddings) + reranking. Corpus: empty (no sessions indexed yet). Available tools (16):
RETRIEVAL PATTERN (use this order):
SPECIALIZED SEARCH:
MANAGE:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/louis49/melchizedek'
If you have feedback or need assistance with the MCP directory API, please join our Discord server