Solve AI assistant memory loss and context confusion. Cursor-Cortex gives your AI the structured thinking and long-term memory it needs to actually help you build software.
LLM-based AI assistants are amazing at generating code and explaining concepts, but they struggle with:
- β Memory Loss: "What were we working on yesterday?"
- β Context Switching: "Wait, what is this project about again?"
- β Agent Failures: Getting lost, hallucinating, losing track of goals
- β No Structure: Jumping between ideas without systematic thinking
- β Knowledge Gaps: No access to company-specific or project-specific insights
Result: You spend more time explaining context than actually solving problems.
Cursor-Cortex provides your AI with structured external memory:
Your AI always knows the project goals, architecture decisions, and current focus.
Continuous development log so your AI can pick up exactly where you left off.
Company-specific solutions, patterns, and hard-won insights that LLMs don't know.
Structured thinking frameworks that keep AI (and you) organized and thorough.
You: "Help me continue the authentication work"
AI: "I need more context. What authentication system? What issues were you facing?"
You: "Ugh, let me explain everything again..."
You: "Help me continue the authentication work"
AI: *reads context + branch notes + knowledge base*
"I see you're implementing JWT refresh tokens and hit CORS issues yesterday.
Based on our company knowledge doc about API security, let's check the middleware..."
Turn your AI from a smart intern into an experienced teammate who remembers everything, follows structured thinking, and has access to institutional knowledge.
npm install
pwd
# Copy the output - you'll need it for configuration
Create or edit ~/.cursor/mcp.json
:
"cursor-cortex": {
"command": "node",
"args": ["/YOUR/FULL/PATH/TO/cursor-cortex/index.js"],
"tools": [
"update_branch_note",
"add_commit_separator",
"filter_branch_note",
"read_branch_note",
"update_context_file",
"read_context_file",
"list_context_files",
"generate_commit_message",
"generate_jira_comment",
"create_tacit_knowledge",
"read_tacit_knowledge",
"create_completion_checklist",
"read_checklist",
"update_checklist",
"sign_off_checklist",
"archive_branch_note",
"clear_branch_note",
"list_all_branch_notes",
"enhanced_branch_survey",
"construct_project_narrative",
"timeline_reconstruction",
"context_sync_guidance",
"analyze_documentation_gaps"
],
"stdio": true,
"env": {
"DEBUG": "true"
}
},
Replace /YOUR/FULL/PATH/TO/cursor-cortex/
with the output from step 2
Close and reopen Cursor completely.
- Go to Cursor Settings (Cmd/Ctrl + ,)
- Navigate to Features β Model Context Protocol
- Find cursor-cortex and toggle it ON
- You should see:
Storage directory created at /Users/yourname/.cursor-cortex
In any Cursor chat, try:
"Update my branch notes: Testing Cursor-Cortex setup"
If it works, you'll see: Successfully updated branch note with: "Testing Cursor-Cortex setup"
- "Show my uncommitted work" - See what you've been working on
- "Generate a commit message" - Create commits from your notes
- "Create tacit knowledge document" - Save solutions for later
As you code, tell your AI assistant:
"Update branch notes: Fixed the login validation bug by adding proper error handling
for expired tokens. Had to modify the JWT middleware."
When you return to work:
"Show me my uncommitted work"
When ready to commit:
"Generate a commit message"
AI reads all your notes and creates: "Fix JWT token validation and error handling"
Cursor-Cortex organizes your knowledge into:
- π Branch Notes: What you're working on right now
- π Context Files: Project documentation and decisions
- π§ Knowledge Base: Solutions and insights for future reference
- β Checklists: Track project completion
All stored in ~/.cursor-cortex/
and accessible through AI.
Once you're comfortable with basics, explore these advanced capabilities:
"Search all my projects for JWT authentication solutions"
node setup-hooks.js # Auto-separates pre/post commit work
Track requirements, testing, and sign-offs:
"Create a completion checklist for the user auth feature"
Create reusable solution documents:
"Create tacit knowledge document about our JWT implementation approach"
Analyze and synthesize project knowledge:
"Survey all my branch documentation and show completeness scores"
"Construct a project narrative for the user authentication system"
"Show me a timeline of all development across projects"
"Analyze this folder structure for documentation gaps"
π Branch Management
update_branch_note
- Add entries to your development logread_branch_note
- View your full branch historyfilter_branch_note
- Show uncommitted work (default) or filter by date/commitadd_commit_separator
- Mark commit boundaries (auto via git hooks)generate_commit_message
- AI creates commits from your notes
π Project Documentation
update_context_file
- Document project goals and decisionsread_context_file
- Access project informationlist_context_files
- Browse all project docs with cross-project warnings
π§ Knowledge Management
create_tacit_knowledge
- Document solutions for future referenceread_tacit_knowledge
- Search knowledge across all projects with tags and content search
β Project Tracking
create_completion_checklist
- Track requirements and deliverablesread_checklist
- View progressupdate_checklist
- Mark items completed (manual or auto-detect)sign_off_checklist
- Formal approval with signatures
π§ Maintenance
archive_branch_note
- Archive completed workclear_branch_note
- Reset branch documentation
π Knowledge Archaeology & Reality Sync Engine
list_all_branch_notes
- View all branch notes across all projects with priority orderingenhanced_branch_survey
- Comprehensive analysis of documentation with completeness scoring and relationship mappingconstruct_project_narrative
- Weave scattered technical details into coherent production storiestimeline_reconstruction
- Extract chronological timeline data from branch notes and commit separatorscontext_sync_guidance
- Get contextual guidance for syncing project contexts based on timeline dataanalyze_documentation_gaps
- Analyze folder structure to identify documentation needs and auto-create checklists
Automatic commit separators require the MCP server to be running:
node setup-hooks.js # Install git hooks
Direct access without AI:
node cursor-cortex-cli.js # Interactive menu
Found a bug or have an idea? Open an issue or submit a pull request β contributions are welcome!
Author: Manuel Flores-Ramirez
This project is licensed under the Parachute Public License (PPL) v1.0.
The PPL is an ethical license that includes restrictions against use by government, military, surveillance, and other harmful entities. For full details and rationale, see parachute.pub.
Β© 2025 Flores Analytics Consulting L.L.C, Manuel Flores-Ramirez.