ClawMem MCP Server (BFLabsAI/clawmem-bf) is an MCP server listed on the M8ven Trust Index. It scores 62 out of 100, grade C. It declares 31 tools. No publisher has claimed this listing.
Enables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
BFLabsAI
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
yaml is vulnerable to Stack Overflow via deeply nested YAML collections
CLAUDE_SESSION_IDCLAWMEM_API_TOKENsecret ./bin/clawmem serve # with bearer token authCLAWMEM_CONFIG_DIRCLAWMEM_CONTRADICTION_POLICYlink v0.7.1. Merge-time contradiction gate policy. link inserts a new row + contradicts edge (default). supersede marks the old row status='inactive'.CLAWMEM_EMBED_API_KEY(none) API key for cloud embedding. Enables cloud mode: batch embedding, provider-specific params, TPM-aware pacing.CLAWMEM_EMBED_DIMENSIONS(none) Output dimensions for OpenAI text-embedding-3- Matryoshka models (e.g. 512, 1024).CLAWMEM_EMBED_MAX_CHARSCLAWMEM_EMBED_MODELembedding Model name for embedding requests. Override for cloud providers (e.g. jina-embeddings-v5-text-small).CLAWMEM_EMBED_TPM_LIMIT100000 Tokens-per-minute limit for cloud embedding pacing. Match to your provider tier.CLAWMEM_EMBED_URLCLAWMEM_FOCUS_ROOTCLAWMEM_LLM_API_KEYCLAWMEM_LLM_MODELqwen3 Model name sent to the configured LLM endpoint. Override this for OpenAI-compatible proxies such as gpt-5.4-mini.CLAWMEM_LLM_NO_THINKtrue Append /no_think to remote LLM prompts. Set to false for standard OpenAI models and other endpoints that reject or treat the Qwen-style suffix as literal prompt text.CLAWMEM_LLM_REASONING_EFFORTCLAWMEM_LLM_URLCLAWMEM_MERGE_GUARD_DRY_RUNfalse v0.7.1. When true, Phase 2 merge-safety rejections are logged but not enforced — use for calibration before enabling the gate.CLAWMEM_NO_LOCAL_MODELSfalse Block node-llama-cpp from auto-downloading GGUF models. Set true for remote-only setups where you want fail-fast on unreachable endpoints.CLAWMEM_NUDGE_INTERVALCLAWMEM_PRECOMPACT_PROXIMITY_RATIOCLAWMEM_PROFILEbalanced # speed balanced deepCLAWMEM_SESSION_FOCUSCLAWMEM_SESSION_IDCLAWMEM_STDIO_MODECLAWMEM_VAULTSexport ='{"work":"~/.cache/clawmem/work.sqlite","personal":"~/.cache/clawmem/personal.sqlite"}'NO_COLORZR_SRCZR_OUTZR_MAXLENZR_VERIFY_ONLYZR_TEMPZR_PORTCLAWMEM_BIN/path/to/clawmem # Path to clawmem binary (or ensure it's on PATH)CLAWMEM_SERVE_PORT7438 # REST API port (default: 7438)CLAWMEM_SERVE_MODEexternal # "external" (you run clawmem serve) or "managed" (plugin manages it)Tool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
31/31 tools missing one or more hints — __IMPORTANT (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); memory_retrieve (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); search (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +28 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tool inputs are validated
29/31 tool handlers declare input schemas (94%)
Declare an inputSchema with zod/joi/yup on every tool definition.
Tool handlers catch errors
Only 5/31 tool handlers wrap calls in try/catch (16%)
Wrap each tool handler body in try/catch and return a structured error response.
Tool test coverage
Only 6/31 tools referenced in tests (19%)
Write tests that reference each tool by name so every tool has at least one test.
Shell command execution
137 child_process calls — runs shell commands
Prefer library functions over shell-outs. If you must shell out, ensure all inputs are properly escaped.
Secrets not logged
1 secret value sent to console.log
Redact or omit secret values from log output.
Production dependencies are patched
0 critical, 2 high severity in production deps — @modelcontextprotocol/sdk@1.25.1 (high), @modelcontextprotocol/sdk@1.25.1 (high)
Run npm audit fix, or upgrade the affected packages to a non-vulnerable version.
Dependency freshness
1/6 production deps stale: gray-matter@2023-07-12 (3y)
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/bflabsai/clawmem-bf)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check