MCP.Market

Cognitive Substrate MCP server

by JaysonAIOnline·io.github.JaysonAIOnline/cognitive-substrate·v1.0.1·1 stars

28-layer cognitive substrate with cross-session ToT evolutionary memory and self-telemetry tools

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed Cognitive Substrate yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Cognitive Substrate tools (15, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • a2a_call_agent

    Call a peer agent by name.

  • a2a_list_agents

    List registered peer agents.

  • a2a_orchestrate

    Fan out a message to agents with a given capability.

  • json_parse_stack

    Parse the first top-level JSON object with the stack-based parser.

  • memory_recall

    Recall memories ranked by relevance.

  • memory_store

    Store a memory for cross-session recall.

  • memory_store_5key_telemetry

    Store 5-key compact substrate telemetry (post-execution storage loop).

  • memory_tree_state

    Get persistent cognitive-tree telemetry for a session.

  • reason_plan

    Produce a structured reasoning plan for a problem.

  • reasoning_paradigms

    Return the 7 reasoning paradigms.

  • substrate_evaluate

    Score a substrate instance. Returns (score_delta, is_pruned).

  • substrate_extract

    Extract the substrate JSON payload from raw text.

  • substrate_paradigms

    Return the 28-layer cognitive substrate schema and layer count.

  • substrate_run_paradigmwrite action

    Run a single 28-layer paradigm against provided data.

  • tot_historical_lessons

    Pull pruned/penalized branches from past sessions as lessons.

Public scan report

scanner v0.1.10 · 2026-10-16 · same rubric, same numbers if you re-run it

no findings
  • Code scan6 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 41 days ago12/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Cognitive Substrate compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
85/100
higher than 70% of 48,243 servers
Tools
15
the typical server has 7
Tools that change things
7%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 65% of 28,706 servers

What its tools let an agent do: 14 read · 1 change

Install Cognitive Substrate in Claude Code, Cursor or VS Code

claude mcp add cognitive-substrate -- uvx mcp-cognitive-substrate
Add to Cursor

What the publisher says

From the Cognitive Substrate repository's README, as published. We do not edit it. Read it on GitHub

mcp-cognitive-substrate

mcp-name: io.github.JaysonAIOnline/cognitive-substrate

A 28-layer cognitive substrate with cross-session Tree-of-Thoughts (ToT) evolutionary memory, conditional self-telemetry, and A2A tools for MCP agents.

Lets agents reason through a validated 28-layer substrate, evolve memory across sessions, and communicate with peer agents — all in one pip-installable package.

Features

  • 28-layer cognitive substrate with Pydantic validation — CognitiveSubstrate validates reasoning through 6 families / 28 layers.
  • Cross-session ToT evolutionary memory — SQLite-backed tree-of-thoughts nodes + substrate history; pruned branches become lessons for future sessions.
  • Robust stack-based JSON parser — no regex; handles nested brackets, escaped strings, embedded code fences (robustslice / robustjson_slice).
  • Self-telemetry tool — getcognitivetree_state returns active paths and pruned branches for a session.
  • Post-execution storage loop — store5keytelemetry auto-saves compact 5-key telemetry (foundations, metacognition, defensive, resource, utility).
  • 7 reasoning paradigms — deductive, inductive, abductive, analogical, causal, syllogistic, falsification.
  • A2A tools — list, discover, call, and orchestrate peer agents.
  • MCP server — exposes everything as tools via the cognitive-substrate CLI.

Install

pip install mcp-cognitive-substrate

Or install from source:

git clone https://github.com/JaysonAIOnline/mcp-cognitive-substrate.git
cd mcp-cognitive-substrate
pip install -e .[test]

Requires Python >= 3.11.

Quick Start

from mcp_cognitive_substrate.substrate import CognitiveSubstrate
from mcp_cognitive_substrate.memory import get_cognitive_tree_state, store_5key_telemetry

substrate = CognitiveSubstrate()
response = substrate.run("Your user prompt here")
print(response["layers_applied"], "layers applied")
print(response["substrate_verdict"])

Usage

28-layer substrate

from mcp_cognitive_substrate import substrate

# Layer count and schema
print(substrate.layer_count())        # 28
print(substrate.SUBSTRATE_SCHEMA)     # the full 6-family schema

# Validate a prompt through the substrate
result = substrate.CognitiveSubstrate(session_id="s1").run("deploy safely")
print(result["substrate_verdict"])    # heuristic pruning verdict

# Run a single paradigm
from mcp_cognitive_substrate import run_paradigm
print(run_paradigm("14_idempotency_side_effect_audit", {"evaluate_branch": True}))

Cross-session ToT evolutionary memory

from mcp_cognitive_substrate.memory import (
    store_5key_telemetry,
    get_cognitive_tree_state,
    prune_failed_approach,
)

node_id = store_5key_telemetry(
    session_id="session-a",
    payload={
        "foundations": {"premise_validation": "assuming deps", "state_hash": "h", "falsification_notes": "deps missing"},
        "defensive": {"blast_radius": "unpredictable", "is_idempotent": True, "invariant_rule": "r"},
        "resource": {"big_o": "o(n)", "latency_bottleneck": "none"},
        "utility": {"load_summary": "pin versions to deploy", "checklist_verified": True},
        "metacognition": {"self_critique": "c", "drift_pct": 0.1},
    },
    score_delta=-110.0,
)
prune_failed_approach(node_id)
state = get_cognitive_tree_state("session-a", include_pruned=True)
print(state["active_path_count"], state["pruned_branch_count"])

Stack-based JSON parser

from mcp_cognitive_substrate.memory import robust_slice, robust_json_slice

cleaned, payload = robust_slice('prefix {"a": {"b": [1, 2]}, "c": "x"} suffix')
# payload == {"a": {"b": [1, 2]}, "c": "x"}; cleaned == "prefix suffix"

7 reasoning paradigms + A2A

from mcp_cognitive_substrate import reason, a2a_list, a2a_call, a2a_orchestrate

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Cognitive Substrate: common questions

Is Cognitive Substrate MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the Cognitive Substrate safety report
How do I install Cognitive Substrate?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Cognitive Substrate need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Cognitive Substrate maintained?
The last commit was 61 days ago (2026-09-05). The latest release is v1.0.1.
What can I use instead of Cognitive Substrate?
Servers from other publishers that do the same job: Deja Vu MCP server.
How does Cognitive Substrate compare with other MCP servers?
safety score 85/100 (higher than 70% of 48,243 servers); tools 15 (the typical server has 7); tools that change things 7% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Cognitive Substrate

Same job from other publishers: the closest match first, then the best rated.

  • Deja Vu
    deja-vu: local memory over the session histories of forty-three coding agents.
    A