@theihtisham/agent-shadow-brain

data-ai MCP Server

🧠 AI-powered background code analysis agent — neural mesh networking, pattern memory, predictive engine, adversarial defense. Works with Claude Code, VS Code, any IDE. npm install @theihtisham/agent-shadow-brain

Verified
data-aidata-ai
3 views37 stars6 forksv5.2.0MIT

Why This Matters

Discovered via github-topic:mcp-server and last synced 3mo ago.

Verified
Source
github-topic:mcp-server
Stars
37
Last synced
3mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
44
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (44)

brain_memory_search

Search across all memory tiers

brain_insights

Get recent insights

brain_memory_store

Store knowledge in hierarchical memory

brain_analyze

Trigger code analysis

brain_consensus_propose

Submit a proposal for agent consensus

brain_evolve_status

Get self-evolution status

Command

Description

Architecture

15%

brain_health

Get health score (A-F)

brain_status

Get full brain status

brain_recall

Context-triggered associative recall

Problem

Impact

brain_memory_stats

Memory compression statistics

brain_graph_query

Query knowledge graph

Module

File

brain_fixes

Get smart fix suggestions

brain_consensus_vote

Vote on a pending proposal

brain_dashboard_url

Get dashboard URL

Maintainability

10%

brain_collective_propose

Propose a cross-project rule

brain_collective_search

Search collective learning rules

brain_turbo_search

Semantic search in compressed memory

Application

Complexity

brain_predict

Predict bug risk for files

PolarQuant

-- Cartesian -> Polar coordinates

Security

25%

2026-04-12

Hierarchical Memory, Associative Recall, Multi-Agent Consensus, Collective Learning

brain_defense_scan

Scan for hallucination patterns

hallucinated

`uncertain` ```bash shadow-brain defense status shadow-brain defense scan "This API endpoint exists at /api/v2/users" ``` **Swarm Intelligence** — Ant Colony Optimization for file prioritization. - Pheromone deposit: +3 for critical, +2 for high, +1 for medium - Evaporation: decay over time to avoid staleness ```bash shadow-brain swarm status shadow-brain swarm priorities ``` </td> <td width="50%"> ### Analytics & Prediction Layer **Knowledge Graph + PageRank** — code impact radar. - Identify high-impact files (change one, break many) - Cycle detection in dependency graphs - Entity extraction with file/line tracking ```bash shadow-brain graph build . shadow-brain graph pagerank shadow-brain graph cycles ``` **Predictive Engine** — predict bugs before they happen. - Bug risk scoring: `low`

Version

Codename

Foundation

2026-02-28

high

`critical` - Technical debt forecasting - Anomaly detection in change patterns ```bash shadow-brain predict bugs . ``` </td> </tr> </table> --- ## Algorithms & Research Shadow Brain v5.1.1 implements algorithms from **peer-reviewed research**:

Hyper-Cognitive

2026-04-18

Dimension

Weight

Zero-Config

2026-04-15

Auto-install

`.clinerules`

Detection

Yes

Quality

25%

Hyper-Intelligence

2026-04-01

Performance

15%

2026-03-25

Shannon Entropy, Cosine Similarity, Bayesian Confidence

Super-Intelligence

2026-03-18

Yes

`.aider.conf.yml`

Agent

Status