Reflection MCP Server

Reflection MCP Server

Enables reflective thinking and memory storage with support for multiple AI providers (OpenAI, Anthropic, Gemini, Ollama) or local fallback. Stores contextual memories locally and provides tools for reflection, questioning, note-taking, and summarization across different conversation keys.

Category
Visit Server

README

Reflection MCP Server

Part of the LXD MCP Suite — a cohesive set of MCP servers for learning experience design (coaching, Kanban, stories, and optional LLM adapters).

What it is

Lightweight reflection MCP server (stdio) that detects available providers and stores short local memories.

Why it helps

Optional tailoring/validation for other servers; stays small and safe. Works fully offline with local memory only.

Lightweight reflection and differential diagnosis MCP server.

  • Detects provider from environment/.env (OpenAI, Anthropic, Gemini, Ollama) and uses a lightweight local model if no network provider is available.
  • Stores short, bounded memories per key in .local_context/reflections/<key>.jsonl.
  • Exposes MCP tools over stdio:
    • reflection_handshake(user_key, name)
    • reflect(key, input)
    • ask(key, question)
    • note(key, note)
    • memories(key, limit?)
    • summarize(key)

Quickstart

# Run from a clone/checkout
python3 reflection_mcp/mcp_server.py

Register with an MCP client (example)

  • Claude Desktop (config snippet):
{
  "mcpServers": {
    "reflection-mcp": {
      "command": "python3",
      "args": ["/absolute/path/to/reflection_mcp/mcp_server.py"],
      "env": { "PYTHONUNBUFFERED": "1" }
    }
  }
}

Environment variables

  • OpenAI: OPENAI_API_KEY, OPENAI_BASE_URL (optional), OPENAI_MODEL (default: gpt-4o-mini)
  • Anthropic: ANTHROPIC_API_KEY, ANTHROPIC_BASE_URL (optional), ANTHROPIC_MODEL (default: claude-3-haiku-20240307)
  • Gemini: GOOGLE_API_KEY, GEMINI_BASE_URL (optional), GEMINI_MODEL (default: gemini-1.5-flash)
  • Ollama: OLLAMA_BASE_URL or OLLAMA_HOST, OLLAMA_MODEL (default: llama3.1:8b-instruct)

If no provider key is found or requests fail, the server falls back to a local lightweight reflector.

File layout

  • reflection_mcp/mcp_server.py: MCP stdio server
  • reflection_mcp/provider.py: provider detection + HTTP client
  • utils/reflection_memory.py: shared local memory store (JSONL)

Install (local PATH)

bash scripts/install_local.sh
export PATH="$HOME/.local/bin:$PATH"   # add to shell profile for persistence

# Start server from anywhere
reflection-mcp

Run at Login

macOS (launchd)

bash scripts/install_service_macos.sh
# Logs:
tail -f "$HOME/Library/Logs/reflection-mcp.out" "$HOME/Library/Logs/reflection-mcp.err"

Linux (systemd user)

bash scripts/install_service_systemd.sh
systemctl --user status reflection-mcp.service
journalctl --user -u reflection-mcp.service -f

License

Proprietary/internal by default. Add a license if open-sourcing.

Internal Use Only — not licensed for external distribution or hosting.

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