Structured AI memory layer — single source of truth for what your agent knows
Project description
devmcp-context
Structured AI memory layer. A single source of truth for what your agent knows across conversations.
devmcp-context is a Model Context Protocol (MCP) server that provides persistent, organized memory for AI agents. Your agent's memory is now visible, editable, and searchable — without retraining.
The Problem
AI agents are black boxes. You can't see what they remember. When they forget something important or remember something wrong, you're stuck.
devmcp-context changes this. Your agent's memory is now:
- Visible — Plain text files in your project folder
- Editable — Change any entry, agent sees it immediately
- Structured — Organized into 5 categories with automatic cleanup
- Persistent — Survives across agent sessions and restarts
Installation
pip install devmcp-context
Or with uv:
uv add devmcp-context
Quick Start
Register in your agent's MCP config (Claude, Node.js, Python, Docker), then:
devmcp-context
Your agent will auto-discover the memory server. Start asking questions, and memories are saved to ai-context/ folder.
Features
- 5 memory categories (project, decisions, errors, tasks, ephemeral)
- Automatic expiration (TTL) — errors expire in 30 days, tasks in 14
- Full-text search across all entries
- Tagging system for organization
- Persistent file-based storage (no database)
- MCP-compliant server
Documentation
Full docs: https://kushal1o1.github.io/devmcp-context/
- Getting Started guide
- Installation instructions
- API Reference (6 tools)
- Memory categories explained
- Architecture diagrams (Mermaid)
- Deployment guide
- Development guide
Usage Example
In your agent prompt:
Use context_save to remember insights:
- save("decisions", "auth_strategy", "Use JWT with refresh tokens", tags=["security"])
Use context_load to retrieve memories:
- load("decisions")
Use context_search to find specific memories:
- search("JWT")
License
MIT — See LICENSE for details.
Contributing
Contributions welcome! See CONTRIBUTING.md for guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devmcp_context-0.1.2.tar.gz.
File metadata
- Download URL: devmcp_context-0.1.2.tar.gz
- Upload date:
- Size: 224.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0fafbb51743815adeae2920234524ef6d9afa5f81f633aa556306837b95dedd
|
|
| MD5 |
22e82b031e0210e41469828f0395115e
|
|
| BLAKE2b-256 |
e41023bf04966cff3ddc311d41bde0e873ca1ecc60b23e315012b53016991ad5
|
Provenance
The following attestation bundles were made for devmcp_context-0.1.2.tar.gz:
Publisher:
publish.yml on kushal1o1/devmcp-context
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devmcp_context-0.1.2.tar.gz -
Subject digest:
d0fafbb51743815adeae2920234524ef6d9afa5f81f633aa556306837b95dedd - Sigstore transparency entry: 1435667893
- Sigstore integration time:
-
Permalink:
kushal1o1/devmcp-context@8ed45ccb8b4907dc73d71fd5f9b5b808205f63af -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/kushal1o1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8ed45ccb8b4907dc73d71fd5f9b5b808205f63af -
Trigger Event:
push
-
Statement type:
File details
Details for the file devmcp_context-0.1.2-py3-none-any.whl.
File metadata
- Download URL: devmcp_context-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce11affed723498d9490b505613e9d57cb6c3f0c3b76f5d6a1f0a348bd1c112a
|
|
| MD5 |
cd2af87c0f08068a77b216a1fa96574b
|
|
| BLAKE2b-256 |
a1090fd5a03fd08d89cf0ea71fb6f186c32163798d2924769f32bfb2bdd14709
|
Provenance
The following attestation bundles were made for devmcp_context-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on kushal1o1/devmcp-context
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
devmcp_context-0.1.2-py3-none-any.whl -
Subject digest:
ce11affed723498d9490b505613e9d57cb6c3f0c3b76f5d6a1f0a348bd1c112a - Sigstore transparency entry: 1435667901
- Sigstore integration time:
-
Permalink:
kushal1o1/devmcp-context@8ed45ccb8b4907dc73d71fd5f9b5b808205f63af -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/kushal1o1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8ed45ccb8b4907dc73d71fd5f9b5b808205f63af -
Trigger Event:
push
-
Statement type: