Local Context MCP

Local Context MCP

A self-hosted AI memory service that shares durable project context between MCP-compatible clients such as Claude Code and Devin, via a REST API and a Streamable HTTP MCP server with tools to remember, recall, list, and forget memories.

Category
Visit Server

README

Local Context MCP

AI agents forget everything the moment a session ends. This is a small, self-hosted memory service that fixes that: agents and tools write durable facts to it, and read them back later — across sessions, across machines, across whichever client you happen to be using that day.

The problem

Every AI coding tool re-derives the same context from scratch: your conventions, your decisions, your gotchas. You end up repeating yourself in every new chat, or copy-pasting the same paragraph into every CLAUDE.md. Memory should be a shared, queryable fact store — not something re-explained by hand each time.

The approach

  • One project, one door. REST API, MCP server, and dashboard are three interfaces on the same Laravel application — not three services to keep in sync.
  • The project key is the whole security model. Every memory belongs to a project, identified by a bearer key. REST, MCP, and the dashboard all resolve tenancy the same way, so there's exactly one mental model to hold.
  • No new infrastructure. Memories are searched with MySQL FULLTEXT, not a vector database — this is built for roughly a dozen projects with hundreds of memories each, and boring technology is enough at that scale. Revisit if that assumption changes.
  • Deploy once, use everywhere. The server can run on your laptop or on a VPS; any MCP-compatible client (Claude Code, Devin, Cursor, ...) can register against it without needing this repository checked out locally.
flowchart LR
    A[Claude Code] -->|remember / recall| S[(Local Context MCP)]
    B[Devin] -->|remember / recall| S
    C[REST client] -->|remember / recall| S
    S --> D[(MariaDB/MySQL)]

Get started

I want to... Read
Run the server locally, or deploy it for the first time Local setup
Connect an AI client (Claude Code, Devin, or another MCP client) to a running server — local or remote Registering MCP clients
Call memories directly over HTTP REST API
Browse, audit, or prune stored memories Dashboard and hygiene
Run the test suite Testing
Put this on my own server Deploying to your own server

If you already have a project key from a server someone else deployed, you don't need any of the setup steps or even this repository — go straight to Registering MCP clients, which includes a one-line install script.

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

E2B

Using MCP to run code via e2b.

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

Qdrant Server

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

Official
Featured