New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

thoughtmcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thoughtmcp

AI that thinks more like humans do - MCP server with human-like cognitive architecture for enhanced reasoning, memory, and self-monitoring

latest
Source
npmnpm
Version
0.6.0
Version published
Maintainers
1
Created
Source

ThoughtMCP

CI TypeScript Node.js PostgreSQL License

Production-Ready AI Cognitive Architecture with Human-Like Memory and Reasoning

ThoughtMCP provides AI systems with persistent memory, parallel reasoning, and metacognitive capabilities through the Model Context Protocol (MCP).

Key Features

  • Five-Sector Memory: Episodic, Semantic, Procedural, Emotional, and Reflective memory types
  • Web UI: Visual interface for memory exploration and reasoning (⚠️ Beta)
  • Parallel Reasoning: Four concurrent streams (Analytical, Creative, Critical, Synthetic)
  • Framework Selection: Eight systematic thinking frameworks with >80% selection accuracy
  • Metacognition: Confidence calibration, bias detection, emotion analysis
  • Production Ready: 75%+ test coverage, sub-200ms retrieval, PostgreSQL persistence

Quick Start

# Clone and install
git clone https://github.com/keyurgolani/ThoughtMcp.git
cd ThoughtMcp
npm install

# Setup environment
cp .env.example .env
docker-compose up -d
npm run db:setup

# Build and start
npm run build
npm start

MCP Tools

CategoryToolsDescription
Memoryremember, recall, update_memory, forget, searchPersistent five-sector memory
Reasoningthink, analyze, ponder, breakdownMulti-stream reasoning
Metacognitiveassess_confidence, detect_bias, detect_emotion, evaluateSelf-monitoring and quality check

MCP Configuration

{
  "mcpServers": {
    "thoughtmcp": {
      "command": "node",
      "args": ["/path/to/ThoughtMcp/dist/index.js"],
      "env": {
        "DATABASE_URL": "postgresql://user:pass@localhost:5432/thoughtmcp",
        "OLLAMA_HOST": "http://localhost:11434"
      }
    }
  }
}

Web UI (Beta)

ThoughtMCP includes a web-based interface for visualizing memories and reasoning processes. The UI is currently in beta and under active development.

# Start the UI development server
cd ui
npm install
npm run dev

⚠️ Beta Notice: The UI is experimental and may have breaking changes between releases. Not recommended for production use yet.

Documentation

GuideDescription
User GuideGetting started and basic usage
MCP ToolsTool schemas and examples
ArchitectureSystem design
DevelopmentDevelopment workflow
DeploymentProduction deployment

See docs/ for complete documentation.

Contributing

See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details

Keywords

mcp

FAQs

Package last updated on 15 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts