PLTM MCP Server

PLTM MCP Server

Provides 78 tools for AGI experiments based on universal physics principles like entropy and criticality. It enables advanced long-term memory management, diversity-focused information retrieval, and meta-cognitive monitoring for self-improving AI systems.

Category
Visit Server

README

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

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}
}

Links

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured