Skip to main content

A stdio MCP server to provide long-term memory for AI agents.

Project description

AI Agent Context Server

local-context-server is a lightweight, local MCP (Model Context Protocol) server designed to provide long-term memory for AI agents like Gemini, Claude, and others within environments like Cursor.

It allows an AI agent to save, load, list, and search for "contexts"—pieces of knowledge such as application maps, test data, or business requirements—making it possible to create adaptive and intelligent QA automation.

Features

  • Persistent Memory: Store any JSON-serializable data in a local SQLite database.

  • Simple Tool API: Provides four core tools for the AI to manage its knowledge:

    • save_context: Save or update a piece of knowledge.
    • load_context: Retrieve knowledge by its unique ID.
    • list_contexts: Browse all available knowledge.
    • search_contexts: Search for knowledge by keyword.
  • Automatic Database Location: The server automatically creates and manages its database file (memory_tests.db) in a folder named context-database inside your user's home directory. This requires no configuration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

context_local_server-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

context_local_server-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file context_local_server-0.1.0.tar.gz.

File metadata

  • Download URL: context_local_server-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for context_local_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 130143ec908fb0f8f08914fb4ae9202aa25f8c234d79639a57173dc914c1fa8b
MD5 f06983acadf42632b61caaa5ab278270
BLAKE2b-256 671dbc62683929ef757e0c968f2628e712cc54fa4828da747d6ffb1a99658586

See more details on using hashes here.

File details

Details for the file context_local_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for context_local_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc24fad6355af324938e3f26757324481fcae3cbbe58136ffd18fb881c86319e
MD5 220e3524d5b14c214c1f5a58da0b7cbc
BLAKE2b-256 9cc6502e926fe975402e94cae94f5c21d6fa53459f10da8d74c289b1697eb606

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page