Contextforge

by alfredoizdev

290 downloads
Not rated
GitHub

About

Persistent memory MCP server for Claude. Store decisions, code snippets, and knowledge that

Details

Author
alfredoizdev
Downloads
290
Categories
Knowledge Base, AI, Developer Tools, Communication

- Semantic search with pgvector embeddings tuned for technical content
- Automatic Git/PR sync — every commit becomes searchable context
- Project‑based organization with separate memory per project
- Team collaboration – share knowledge across your team
- Free tier includes 1 project, 3 spaces, 200 documents, 500 queries/month

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Contextforge
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with npx contextforge-mcp or add via Claude Code using claude mcp add contextforge -e CONTEXTFORGE_API_KEY=<your-key> -- npx contextforge-mcp. Obtain an API key at contextforge.dev.

memory_ingest

Add content to the contextual memory. Use this to store code snippets, documentation, decisions, or any knowledge you want to remember.

memory_query

Search the contextual memory using semantic search. Returns the most relevant stored content based on your query.

memory_get_item

Get the full content of a knowledge item by its ID. Use this when memory_query returns truncated previews and you need the complete content.

memory_list_projects

List all projects. Projects contain multiple spaces for organizing knowledge by project.

memory_create_project

Create a new project to organize related spaces

memory_list_spaces

List knowledge spaces (workspaces). By default shows only knowledge spaces. Use space_type "git" for GitHub repos, or "all" to see everything.

memory_create_space

Create a new memory space (workspace) for organizing knowledge

memory_move_space

Move a space to a different project

memory_delete_space

Delete a space and all its items permanently. This action cannot be undone.

memory_delete_project

Delete a project and all its spaces permanently. This will delete all spaces and their items within the project. This action cannot be undone.

memory_relate

Create a relationship between two knowledge items

memory_delete

Delete a knowledge item from memory by ID or title

memory_stats

Get statistics about memory usage

memory_list_items

List all items stored in memory. Shows titles, previews, tags, and creation dates.

memory_help

Show help and usage instructions for ContextForge memory commands

memory_git_connect

Connect a GitHub repository to automatically sync commits and PRs to memory

memory_git_list

List all connected GitHub repositories

memory_git_activate

Activate or deactivate a connected repository webhook after setup

memory_git_disconnect

Disconnect a GitHub repository and stop syncing

memory_git_sync

Sync existing commits and PRs from a connected GitHub repository into memory

memory_git_commits

List commits stored in memory from connected repositories

memory_git_prs

List pull requests stored in memory from connected repositories

memory_snapshot_create

Create a snapshot (backup) of the current memory state

memory_snapshot_list

List all available snapshots

memory_snapshot_restore

Restore memory to a previous snapshot state

memory_snapshot_delete

Delete a snapshot

memory_export

Export all items from a space to JSON, Markdown, or CSV format

memory_import

Import items from JSON, Markdown, Notion, or Obsidian format into a space

memory_ingest_batch

Add multiple items to memory in a single operation. More efficient than multiple single ingests.

memory_delete_batch

Delete multiple items from memory based on filters. Use dry_run=true first to preview what will be deleted.

memory_link_project

Link the current directory to a ContextForge project. When linked, all queries will be automatically filtered to only search within that project's spaces. This creates a .contextforge file in the current directory.

memory_unlink_project

Remove the project link from the current directory. This deletes the .contextforge file and queries will no longer be filtered by project.

memory_current_project

Show the currently linked project for this directory, including its spaces. Use this to see which project is linked and what spaces are available.

tasks_list

List tasks assigned to you. Shows pending tasks by default. Use status "all" to see everything, or "resolved" for completed tasks. IMPORTANT: Each task includes a dashboard URL (🔗). You MUST include these clickable links when presenting tasks to the user.

tasks_start

Mark a task as "in_progress". Use this when you start working on a task. The response includes a dashboard URL — always show it to the user.

tasks_resolve

Mark a task as "resolved". Use this when you finish working on a task. The response includes a dashboard URL — always show it to the user.

tasks_what_next

Get a recommendation of what task to work on next, based on priority and due dates. Use this when you want to know what task to focus on. The response includes a dashboard URL — always show it to the user.

tasks_create

Create a new task in a project. Optionally assign it to a collaborator by their email. The response includes a dashboard URL — always show it to the user.

tasks_update

Update a task's title, description, status, priority, tags, due date, or assignee. Provide issue_id or short_id to identify the task, plus one or more fields to update. The response includes a dashboard URL — always show it to the user.

tasks_assign

Assign a task to a collaborator by their email address. The response includes a dashboard URL — always show it to the user.

tasks_resolve_by_name

Resolve a task by searching for it by title. Use this when you only know the task name. The response includes a dashboard URL — always show it to the user.

tasks_delete

Delete a task by ID or short_id. This performs a soft delete (sets deleted_at timestamp).

collaborators_list

List collaborators on a shared project. Shows who has access and what tasks are assigned to them.

project_share

Share a project with a collaborator by email. Creates an invitation and returns the invite URL. An email notification may also be sent.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "contextforge": {
            "contextforge": {
                "command": "npx",
                "args": [
                    "-y",
                    "contextforge-mcp"
                ],
                "env": {
                    "CONTEXTFORGE_API_KEY": "<YOUR_API_KEY>"
                }
            }
        }
    }
}

McpServers

{
    "contextforge": {
        "command": "npx",
        "args": [
            "-y",
            "contextforge-mcp"
        ],
        "env": {
            "CONTEXTFORGE_API_KEY": "<YOUR_API_KEY>"
        }
    }
}

ContextForge MCP Server

Persistent memory for AI coding agents — Claude Code, Cursor, GitHub Copilot, and more. ## What it does ContextForge gives your AI coding assistants long-term memory. They remember code patterns, decisions, project context, and your preferences across sessions. No more re-explaining the same context every conversation. ## Key features - Semantic search — pgvector embeddings tuned for technical content - Git/PR sync — every commit becomes searchable context automatically - Project-based organization — separate memory per project, with shared spaces - Team collaboration — share knowledge across your team - Free tier — 1 project, 3 spaces, 200 documents, 500 queries/month, no credit card ## Works with - Claude Code - Claude Desktop - Cursor - GitHub Copilot (via MCP) - ChatGPT (via MCP) - Windsurf - Any MCP-compatible client

Install

Quick install: npx contextforge-mcp Or via Claude Code: claude mcp add contextforge -e CONTEXTFORGE_API_KEY=<your-key> -- npx contextforge-mcp Get your API key at contextforge.dev. - Landing page: contextforge.dev - GitHub: alfredoizdev/contextforge-mcp - npm: contextforge-mcp
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.