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.

C
Caution
62/100

ClawMem MCP Server

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

Code Verified⚡ Live Monitored: not connected

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

Is this your MCP?

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.

// key findings
⚠️
Known vulnerabilities in dependencies: 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 3 credentials: CLAWMEM_API_TOKEN, CLAWMEM_EMBED_API_KEY, CLAWMEM_LLM_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 high1 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.25.1GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

high@modelcontextprotocol/sdk@1.25.1GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

lowyaml@2.8.2GHSA-48c2-rrv3-qjmp

yaml is vulnerable to Stack Overflow via deeply nested YAML collections

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// environment variables
To run this server yourself, you supply these values. They go in your own MCP client configuration and stay on your machine. The secret label means the value is sensitive, not that the server mishandles it.
configCLAUDE_SESSION_ID
🔐 secretCLAWMEM_API_TOKENsecret ./bin/clawmem serve # with bearer token auth
configCLAWMEM_CONFIG_DIR
configCLAWMEM_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'.
🔐 secretCLAWMEM_EMBED_API_KEY(none) API key for cloud embedding. Enables cloud mode: batch embedding, provider-specific params, TPM-aware pacing.
configCLAWMEM_EMBED_DIMENSIONS(none) Output dimensions for OpenAI text-embedding-3- Matryoshka models (e.g. 512, 1024).
configCLAWMEM_EMBED_MAX_CHARS
configCLAWMEM_EMBED_MODELembedding Model name for embedding requests. Override for cloud providers (e.g. jina-embeddings-v5-text-small).
configCLAWMEM_EMBED_TPM_LIMIT100000 Tokens-per-minute limit for cloud embedding pacing. Match to your provider tier.
configCLAWMEM_EMBED_URL
configCLAWMEM_FOCUS_ROOT
🔐 secretCLAWMEM_LLM_API_KEY
configCLAWMEM_LLM_MODELqwen3 Model name sent to the configured LLM endpoint. Override this for OpenAI-compatible proxies such as gpt-5.4-mini.
configCLAWMEM_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.
configCLAWMEM_LLM_REASONING_EFFORT
configCLAWMEM_LLM_URL
configCLAWMEM_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.
configCLAWMEM_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.
configCLAWMEM_NUDGE_INTERVAL
configCLAWMEM_PRECOMPACT_PROXIMITY_RATIO
configCLAWMEM_PROFILEbalanced # speed balanced deep
configCLAWMEM_SESSION_FOCUS
configCLAWMEM_SESSION_ID
configCLAWMEM_STDIO_MODE
configCLAWMEM_VAULTSexport ='{"work":"~/.cache/clawmem/work.sqlite","personal":"~/.cache/clawmem/personal.sqlite"}'
configNO_COLOR
configZR_SRC
configZR_OUT
configZR_MAXLEN
configZR_VERIFY_ONLY
configZR_TEMP
configZR_PORT
configCLAWMEM_BIN/path/to/clawmem # Path to clawmem binary (or ensure it's on PATH)
configCLAWMEM_SERVE_PORT7438 # REST API port (default: 7438)
configCLAWMEM_SERVE_MODEexternal # "external" (you run clawmem serve) or "managed" (plugin manages it)
// quality suggestions

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.

// full audit trail
The findings above are the summary. The full trail, every check we ran, each deduction, the network hosts observed and the dependency advisories, goes to verified publishers, along with an alert whenever a new one lands. Verified publishers can also review each finding and dispute it in one click. Publisher corrections have sharpened several of our checks this month, because the maintainer knows the codebase better than any scanner.
// improvement guidance — verified publishers only
We have 8 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Verified](https://m8ven.ai/badge/mcp/bflabsai/clawmem-bf?variant=verified)](https://m8ven.ai/mcp/bflabsai/clawmem-bf)
Shows verification status without the grade. Want the grade badge instead? Remove ?variant=verified from the URL.
commit: 536d9c48b7e3891c0e7ab7e5bc4b0b594d796031
code hash: ce4c587fe3e5931cbf143d229fe1133b7c79f11f498d3d75cadd3184ce88cbea
view raw JSON →
Check MCPs from inside your assistant
Tool Check · MCP

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
check_toolsearch_toolscompare_toolsrecommend_alternativescheck_publisherreport_concern
How to add it →Free · no account needed · works in any MCP client