Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Heimdall MCP server

by lcbcfoo/heimdall-mcp-serverNo licenceAudited 7 Oct 2026 · source 69b93b124f51

PyPI heimdall-mcpstdio★ 105
!CAUTIONGrade B · 84/100 · 7 Oct 2026 · 69b93b1
105GitHub stars

Is it safe? With care — CAUTION, grade B (84/100). It exposes 6 tools: 4 read, 0 write and 2 destructive. The audit recorded 12 findings (0 critical, 0 high, 2 medium, 8 low). Maintainer's description: Your AI Coding Assistant's Long-Term Memory

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Heimdall MCP server (lcbcfoo/heimdall-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/lcbcfoo/heimdall-1

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score84/100!CAUTION B
0 critical0 high2 medium8 low2 info

12 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared4 observations
  • ShellDeclared2 observations
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 4 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 6 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 1 finding
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner lcbcfooUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIheimdall-mcp, no version recorded
  • LicenceNone declaredFrom the repository, as read at the audited commit.
  • Last push13 months agoActivity of the repository when we read it.
  • Source commit read69b93b124f51The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory6 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (12)

Sorted by severity

MEDIUMCode injectioncode.dynamic_import · heimdall/cognitive_system/health_checker.py:219
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
module = __import__(package.replace("-", "_"))
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_memories_by_tags, delete_memory
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .env.template
F-13 Inventory / provenanceCWE-1104Layer L0
.env.template
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWFilesystem / pathfs.traversal · tests/unit/test_git_history_miner.py:69
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_git_security.py:58
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_git_security.py:59
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"repo/../../../secret",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_git_security.py:60
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"valid/path/../../etc/passwd",
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_git_security.py:61
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"/valid/path/../../../etc",
Why
No further detail recorded for this rule.
Fix
—
INFOInventory / provenanceinv.oversize · cognitive_memory/data/models/all-MiniLM-L6-v2.onnx
F-13 Inventory / provenanceCWE-1104Layer L0
cognitive_memory/data/models/all-MiniLM-L6-v2.onnx
Why
90417949 bytes not read
Fix
—
INFOPrompt injectionprompt.authority_framing · docs/progress/004_phase1_interfaces.md:233
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- [x] CLI provides full access to cognitive memory operations
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

6 declared in source · 2 destructive

4 read0 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
delete_memories_by_tagsdestructiveDelete all memories that have any of the specified tags. Provides preview for safety.
delete_memorydestructiveDelete a single memory by its ID. Provides preview of what will be deleted for safety.
memory_statusreadGet cognitive memory system health and statistics
recall_memoriesreadRetrieve memories based on query with rich contextual information
session_lessonsreadCapture and consolidate key learnings from current session for future reference. This tool encourages metacognitive reflection - thinking about what you
store_memoryreadStore new experiences or knowledge in cognitive memory for future recall

Install

audited commit 69b93b1

Read the findings first. The most severe is Code injection (medium) at heimdall/cognitive_system/health_checker.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 69b93b1 only.

claude mcp add heimdall-mcp --env MAX_TOKENS_PER_CHUNK=${MAX_TOKENS_PER_CHUNK} --env QDRANT_API_KEY=${QDRANT_API_KEY} -- uvx heimdall-mcp

The command does not pin a version; the audit covers commit 69b93b124f51. Transport: stdio. Reads these environment variables: MAX_TOKENS_PER_CHUNK, QDRANT_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 84 / 100

    First audit · 69b93b124f51

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/lcbcfoo/heimdall-1/badge.svg)](https://modelsatlas.com/mcp/lcbcfoo/heimdall-1/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Heimdall MCP server

What is the Heimdall MCP server?
Your AI Coding Assistant's Long-Term Memory
What tools does Heimdall expose?
6 in total: 4 read-only, 0 that write, and 2 that can delete or overwrite (delete_memories_by_tags, delete_memory). Every one is listed on this page with its risk.
Is Heimdall safe to connect to an agent?
With care. The audit graded it B (84/100) and found 12 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Heimdall need?
It reads MAX_TOKENS_PER_CHUNK and QDRANT_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Heimdall run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as heimdall-mcp.
How current is this page?
The grade is for one exact copy of the source (69b93b124f51), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • lcbcfoo/heimdall-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 69b93b124f51Observed · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.