Feedback

Contextforge MCP Server

@alfredoizdev Claim

Basic information

Version
0.13.2
License
MIT
Transports
stdio
Author
alfredoizdev
Submitted by
Community
Quality
25

About Contextforge MCP Server

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

Contextforge is a MCP server in the Memory & Knowledge category listed in the AddMCP.net directory, published by alfredoizdev. It exposes 44 tools, including memory_ingest, memory_query, memory_get_item, memory_list_projects and more. Supported transport: stdio. License: MIT. Source code is hosted on github.com. Related topics: claude, collaboration, context, developer-tools, egents.

Setup

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

Contextforge MCP Server config

Add this server to your MCP-compatible client using the configuration below.

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

Contextforge MCP Server tools

  • memory_ingest — Add content to the contextual memory. Use this to store code snippets, documentation, decisions, or any knowledge you want to remember.
    category:string, content:string*, source_type:string, source_uri:string, space_id:string, tags:array, title:string
  • memory_query — Search the contextual memory using semantic search. Returns the most relevant stored content based on your query.
    filters:object, include_relationships:boolean, limit:number, min_score:number, project_id:string, query:string*, space_id:string
  • 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.
    id:string*
  • memory_list_projects — List all projects. Projects contain multiple spaces for organizing knowledge by project.
    (no parameters)
  • memory_create_project — Create a new project to organize related spaces
    description:string, name:string*
  • 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.
    project_id:string, project_name:string, space_type:string
  • memory_create_space — Create a new memory space (workspace) for organizing knowledge
    description:string, name:string*, project_id:string, project_name:string
  • memory_move_space — Move a space to a different project
    space:string*, target_project:string*
  • memory_delete_space — Delete a space and all its items permanently. This action cannot be undone.
    space:string*
  • 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.
    project:string*
  • memory_relate — Create a relationship between two knowledge items
    bidirectional:boolean, relationship_type:string*, source_id:string*, target_id:string*, weight:number
  • memory_delete — Delete a knowledge item from memory by ID or title
    cascade:boolean, id:string, space_id:string, title:string
  • memory_stats — Get statistics about memory usage
    space_id:string
  • memory_list_items — List all items stored in memory. Shows titles, previews, tags, and creation dates.
    limit:number, offset:number, space_id:string
  • memory_help — Show help and usage instructions for ContextForge memory commands
    (no parameters)
  • memory_git_connect — Connect a GitHub repository to automatically sync commits and PRs to memory
    repo_url:string*, space_id:string*
  • memory_git_list — List all connected GitHub repositories
    space_id:string
  • memory_git_activate — Activate or deactivate a connected repository webhook after setup
    active:boolean, repo:string, repository_id:string
  • memory_git_disconnect — Disconnect a GitHub repository and stop syncing
    repo:string, repository_id:string
  • memory_git_sync — Sync existing commits and PRs from a connected GitHub repository into memory
    limit:number, repo:string, repository_id:string, sync_type:string
  • memory_git_commits — List commits stored in memory from connected repositories
    limit:number, offset:number, repo:string, repository_id:string, space_id:string
  • memory_git_prs — List pull requests stored in memory from connected repositories
    limit:number, offset:number, repo:string, repository_id:string, space_id:string
  • memory_snapshot_create — Create a snapshot (backup) of the current memory state
    description:string, name:string*, space_id:string*
  • memory_snapshot_list — List all available snapshots
    space_id:string
  • memory_snapshot_restore — Restore memory to a previous snapshot state
    mode:string, snapshot_id:string*
  • memory_snapshot_delete — Delete a snapshot
    snapshot_id:string*
  • memory_export — Export all items from a space to JSON, Markdown, or CSV format
    format:string, space_id:string*
  • memory_import — Import items from JSON, Markdown, Notion, or Obsidian format into a space
    data:object, format:string, items:array, space_id:string*
  • memory_ingest_batch — Add multiple items to memory in a single operation. More efficient than multiple single ingests.
    items:array*, space_id:string
  • memory_delete_batch — Delete multiple items from memory based on filters. Use dry_run=true first to preview what will be deleted.
    dry_run:boolean, filter:object, space_id:string
  • 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.
    create_new:boolean, project_name:string
  • 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.
    (no parameters)
  • 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.
    (no parameters)
  • 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.
    limit:number, project_id:string, scope:string, status:string
  • 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.
    issue_id:string*
  • 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.
    issue_id:string*
  • 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.
    (no parameters)
  • 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.
    assignee_email:string, description:string, due_date:string, priority:string, project_id:string, project_name:string, space_id:string, tags:array, title:string*
  • 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.
    assignee_email:string, description:string, due_date:string, issue_id:string, priority:string, short_id:string, status:string, tags:array, title:string
  • tasks_assign — Assign a task to a collaborator by their email address. The response includes a dashboard URL — always show it to the user.
    assignee_email:string*, issue_id:string, issue_title:string, short_id:string
  • 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.
    title:string*
  • tasks_delete — Delete a task by ID or short_id. This performs a soft delete (sets deleted_at timestamp).
    issue_id:string*
  • collaborators_list — List collaborators on a shared project. Shows who has access and what tasks are assigned to them.
    project_id:string, project_name:string
  • 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.
    email:string*, message:string, project_id:string, project_name:string

Overview

What is Contextforge?

Contextforge is an MCP server that provides persistent memory for AI coding agents, such as Claude Code, Cursor, and GitHub Copilot. It stores code patterns, decisions, project context, and user preferences across sessions, eliminating the need to re‑explain context. It uses pgvector embeddings for semantic search and offers Git/PR sync, project‑based organization, team collaboration, and a free tier.

How to use Contextforge?

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.

Key features of Contextforge

  • 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

Use cases of Contextforge

  • AI coding assistants remember code patterns and project decisions across sessions
  • Automatically index commits and pull requests as searchable context
  • Separate context per project and share it among team members

Frequently asked questions

1 Which AI coding agents does Contextforge support?

Contextforge works with Claude Code, Claude Desktop, Cursor, GitHub Copilot (via MCP), ChatGPT (via MCP), Windsurf, and any MCP‑compatible client.

2 How do I get started with Contextforge?

Run npx contextforge-mcp after obtaining a free API key from contextforge.dev. No credit card is required for the free tier.

3 Does Contextforge have a free tier?

Yes – it includes 1 project, 3 spaces, 200 documents, and 500 queries per month, with no credit card needed.

4 Where does my data live?

The README does not specify where data is stored; it references contextforge.dev for an API key and the npm/GitHub repositories.

5 What are the runtime requirements for Contextforge?

The README does not list specific runtime dependencies beyond Node.js (implied by npx).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬