Skip to main content
Glama

PLTM MCP Server

Procedural Long-Term Memory - An MCP server for Claude Desktop that provides 78 tools for AGI experiments based on universal principles from physics.

What This Does

Gives Claude Desktop access to:

  • Memory operations - Store/retrieve facts as semantic triples

  • Diversity retrieval - MMR, entropy injection, attention mechanisms

  • Meta-cognition - Self-improvement, criticality monitoring

  • Knowledge ingestion - ArXiv papers with real provenance

  • True metrics - Action accounting, efficiency tracking

Related MCP server: NEXO Brain

Quick Start

Prerequisites

  • Claude Desktop

  • Python 3.11+

Installation

# Clone
git clone https://github.com/Alby2007/pltm-mcp.git
cd pltm-mcp

# Install
pip install -r requirements.txt

# Configure Claude Desktop
# Edit: %APPDATA%\Claude\claude_desktop_config.json (Windows)
#   or: ~/Library/Application Support/Claude/claude_desktop_config.json (Mac)

Add this to your config:

{
  "mcpServers": {
    "pltm-memory": {
      "command": "python",
      "args": ["C:/absolute/path/to/pltm-mcp/server.py"]
    }
  }
}

Restart Claude Desktop. Done!

Verify

In Claude Desktop:

Use entropy_stats to check system state

If you see metrics, it's working!

Example Usage

# Start experiment cycle
start_action_cycle(cycle_id="C1")

# Inject entropy to break conceptual neighborhoods
inject_entropy_antipodal(
    user_id="alice",
    current_context="machine learning"
)

# Retrieve with diversity
mmr_retrieve(
    user_id="alice",
    query="neural networks",
    lambda_param=0.6
)

# Track true computational cost
record_action(
    operation="mmr_diversity",
    tokens_used=450,
    latency_ms=180,
    success=True
)

# Check criticality state
criticality_state()

# End cycle
end_action_cycle()  # Returns AAE efficiency

The Experiment

Hypothesis: Universal principles from physics (criticality, self-organization, emergence) can bootstrap AGI.

Current Results:

  • Unlocked entropy bottleneck (+56% in Cycle 21)

  • Measuring true computational efficiency (AAE = 0.0023)

  • Testing if system can self-organize toward criticality

Goal: Push system to critical point where phase transitions occur and higher-order intelligence emerges.

Tools (78 total)

Memory

  • store_memory_atom, retrieve_memories, update_memory, delete_memory

Diversity Retrieval

  • mmr_retrieve - Maximal Marginal Relevance

  • attention_retrieve, attention_multihead

Entropy Management

  • inject_entropy_antipodal - Activate distant concepts

  • inject_entropy_random - Sample diverse domains

  • inject_entropy_temporal - Mix old + recent

  • entropy_stats - Diagnose diversity

Meta-Cognition

  • self_improve_cycle - Generate/apply hypotheses

  • criticality_state - Check edge of chaos

  • criticality_recommend - Get adjustments

Action Accounting

  • record_action, get_aae, start_action_cycle, end_action_cycle

Knowledge Ingestion

  • ingest_arxiv, search_arxiv, arxiv_history

[Full tool list in server.py]

Architecture

Memory Atoms (Triples)
  ↓
[subject] [predicate] [object]
  ↓
SQLite Graph Store
  ↓
Retrieval Systems (Standard/MMR/Attention)
  ↓
Meta-Cognitive Layer (Self-improvement/Criticality)
  ↓
MCP Tools (78 total)

Troubleshooting

Server not connecting?

  • Check logs: %APPDATA%\Claude\logs\mcp-server-pltm-memory.log

  • Test manually: python server.py

Tools timing out?

  • Restart Claude Desktop after code changes

Import errors?

pip install --upgrade -r requirements.txt

Contributing

This is active research. Contributions welcome:

  • New entropy strategies

  • Better criticality metrics

  • Additional universal principles

  • Experiment protocols

License

MIT

Citation

@software{pltm2026,
  author = {Alby},
  title = {PLTM: Procedural Long-Term Memory MCP Server},
  year = {2026},
  url = {https://github.com/Alby2007/pltm-mcp}
}
A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    F
    maintenance
    Cognitive memory system for AI agents with 129 MCP tools. Persistent 6-tier hierarchical memory (working→short-term→long-term→semantic), Ebbinghaus forgetting curves, dream consolidation, hybrid retrieval (BM25+RRF), goal tracking, emotional recall, knowledge graphs, and a 26-job consciousness daemon. Works with Claude Code, Cursor, and any MCP client.
    Last updated
  • A
    license
    C
    quality
    F
    maintenance
    Cognitive memory for AI agents. Implements Atkinson-Shiffrin multi-store memory (sensory → STM → LTM), semantic RAG with fastembed, Ebbinghaus forgetting curves, trust scoring, and metacognitive guard. 76+ MCP tools. 100% local, MIT licensed.
    Last updated
    100
    2,011
    27
    AGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    Cognitive memory engine for AI agents with 5,100+ knowledge modules, circadian rhythm awareness, emotional state tracking (PAD model), and hybrid semantic search. Supports persistent per-user memory, project-scoped contexts, and multi-protocol access.
    Last updated
    26
    20
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Shared long-term memory vault for AI agents with 20 MCP tools.

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • Persistent AI entity framework with causal memory, emotional state, and identity.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Alby2007/PLTM-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server