1. Conduid
  2. RAG
  3. Brainapi2
MCP server · RAG

Brainapi2

BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.

69Good

Scored 22 hours ago · breakdown

About Brainapi2

Brainapi2 is an MCP server published by Lumen-Labs in the RAG category: brainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications. Conduid read 20 tools from its source: conflict_report, dismiss_conflict, get_changelog, get_conflict, get_fact_verification, get_search_operation_instructions and 14 more. No package is published for it, so it installs from a source checkout.

The repository has 556 stars and 72 forks, and its last commit was on 1 Dec 2026. The latest release is v2.22.0 (25 Nov 2026): Current main since 2.21.2. It follows v2.21.2 (22 Nov 2026), and the 5 most recent releases go back to v2.20.1-dev.5 (7 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include ai-memory, knowledge-graph, knowledge-management, knowledge-representation and reccomendation-system.

Install

From source
git clone https://github.com/Lumen-Labs/brainapi2

Tools (20)

conflict_reportConflict report with summary counts and per-conflict details.
ParameterTypeDescription
brain_id *string
formatstring
limitinteger
sincestring
sourcestring
statusstring
subjectstring
untilstring
dismiss_conflictDismiss a conflict without choosing a winning fact.
ParameterTypeDescription
brain_id *string
idstring
notesstring
get_changelogRead one graph changelog entry by id.
ParameterTypeDescription
brain_id *string
idstring
get_conflictRead one conflict with full provenance for both sides.
ParameterTypeDescription
brain_id *string
idstring
get_fact_verificationGet the current verification state, verifier info, and append-only audit
ParameterTypeDescription
brain_id *string
fact_id *string
get_search_operation_instructionsThis tool will provide instructions on how to use the search_memory tool.
ParameterTypeDescription
message *string
list_brainsThis tool lists all the brains/memory stores available
list_changelogsList graph changelog entries for a brain, newest first.
ParameterTypeDescription
brain_id *string
limitinteger
query_textstring
sincestring
skipinteger
typesarray
untilstring
list_conflictsList cross-source fact conflicts for a brain.
ParameterTypeDescription
brain_id *string
limitinteger
sincestring
skipinteger
sourcestring
statusstring
subjectstring
untilstring
list_facts_by_verificationList facts in a brain filtered by verification state:
ParameterTypeDescription
brain_id *string
entity_idstring
include_rejectedboolean
interview_idstring
limitinteger
skipinteger
sourcestring
statestring
topic_idstring
list_source_versionsRead the current copy and previous copies of a source.
ParameterTypeDescription
brain_id *string
limitinteger
querystring
skipinteger
source_keystring
reject_factMark a fact as rejected so retrieve/search/traverse hide it by default.
ParameterTypeDescription
brain_id *string
fact_id *string
notestring
verification_sourcestring
verified_bystring
reopen_conflictReopen a dismissed or resolved conflict. Does not change fact verification.
ParameterTypeDescription
brain_id *string
idstring
notesstring
reset_fact_verificationReset a fact back to unverified. Append-only audit history is retained.
ParameterTypeDescription
brain_id *string
fact_id *string
notestring
verified_bystring
resolve_conflictResolve a conflict. Pass winning_fact_id to choose a side; method=verified_side
ParameterTypeDescription
brain_id *string
idstring
methodstring
notesstring
winning_fact_idstring
search_memorySearch the brain for memories and information.
ParameterTypeDescription
brain_id *string
db_query *string
include_rejectedboolean
search_public_brainsSearch listed public brains by name, description, or tags.
ParameterTypeDescription
cursorstring
limitinteger
qstring
tagstring
search_semanticallySearch information semantically, given a query and a brain to search in,
ParameterTypeDescription
as_ofstring
brain_id *string
include_rejectedboolean
include_validity_unknownboolean
query *string
traverse_graphTraverse the knowledge graph from a starting node up to N hops with optional filters.
ParameterTypeDescription
brain_id *string
depthinteger
directionstring
include_rejectedboolean
limitinteger
node_labelsarray
rel_typesarray
start_labelsarray
start_namestring
start_uuidstring
verify_factMark a fact (relationship UUID or EVENT node UUID) as verified.
ParameterTypeDescription
brain_id *string
fact_id *string
notestring
verification_sourcestring
verified_bystring

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.7K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json and 5 more.
  • ✓No dynamic code executionScanned 427 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
Streamable HTTPsrc/services/mcp/app.py:101
Starts other programs
9 callssrc/core/plugins/loader.py:53, deploy/backup_restore.py:136, deploy/backup_restore.py:159
Outbound network calls
38 callssrc/core/plugins/registry.py:61, src/core/plugins/registry.py:70, src/core/plugins/registry.py:79
Writes or deletes files
20 callssrc/core/plugins/manager.py:69, src/core/plugins/manager.py:83, src/core/plugins/registry.py:117
Lockfile
package-lock.json and 5 more

Pattern matches on the source text of 427 files: places to read, not proof of what the code does at run time.

Releases

v2.22.0v2.22.0 · 25 Nov 20262.22.0 — 2026-11-25 Current `main` since 2.21.2. Adds the agent-first intent MCP tools, hosted ChatGPT MCP OAuth consent, and Postgres pool hardening, plus spreadsheet experiment fixes. Spreadsheets stay off unless…
v2.21.2v2.21.2 · 22 Nov 20262.21.2 — 2026-11-22 Current main since 2.21.1. The 2.21.0 and 2.21.1 tags did not publish a container image because the tag workflow ran before the required smoke checks had succeeded. This release is the first stable tag that can publish…
v2.21.1v2.21.1 · 22 Nov 20262.21.1 — 2026-11-21 Spreadsheet import/query (off by default), Explore overview-link snapshots, and hosted MCP OAuth sign-in. These were live on engine hosts only; this release puts them in the image so hosts can drop bind mounts and…
v2.21.0v2.21.0 · 21 Nov 20262.21.0 — 2026-11-21 Knowledge-graph memory: expert verification, cross-source conflict detection, fail-closed as-of retrieve, validity changelogs, staged-ingest rollback, and Cypher hardening. Defaults are unchanged: raw Cypher is…
v2.20.1-dev.5v2.20.1-dev.5 · 7 Nov 2026Ingestion cancellation Stop a running ingestion and keep completed work, or discard the import’s staged data. Both modes preserve data from earlier imports. Recover interrupted workers and resume publication without duplicating committed…

README

The repository's README runs to about 2.7K words, fetched 6 days ago. The original in the repository is authoritative.

Read full README
Questions

About Brainapi2

How do I install Brainapi2?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Brainapi2 safe to use with an AI agent?

Its trust score is 69 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 427 source files found that it serves MCP over Streamable HTTP, starts other programs (9 calls), makes outbound network calls (38 calls) and writes or deletes files (20 calls). Its dependencies are pinned by package-lock.json and 5 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Brainapi2 still maintained?

Yes — the latest release is v2.22.0 (25 Nov 2026), and the last commit was 14 hours ago. The repository has 556 stars and 1 open issues.

What tools does Brainapi2 provide?

Conduid read 20 tools from the source: conflict_report, dismiss_conflict, get_changelog, get_conflict, get_fact_verification, get_search_operation_instructions, list_brains, list_changelogs and 12 more. 19 of them publish their parameters, listed under Tools above.