Guild

v1.0.0Knowledge & Memorystable

Shared context, memory, and task coordination across AI coding agents. Single Go binary, local SQLite, hybrid keyword and semantic search.

agent-coordinationagent-memoryai-agentsclaudeclaude-code
Share:
270
Stars
0
Downloads
0
Weekly
0/5

What is Guild?

Guild is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to shared context, memory, and task coordination across ai coding agents. single go binary, local sqlite, hybrid keyword and semantic search.

Shared context, memory, and task coordination across AI coding agents. Single Go binary, local SQLite, hybrid keyword and semantic search.

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Shared context, memory, and task coordination across AI codi

Use Cases

Coordinate memories across coding agents
Manage task coordination
Enable hybrid keyword and semantic search
mathomhaus

Maintainer

LicenseApache-2.0
Languagego
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx guild

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Guild

Guild is a shared memory and task coordination system for AI coding agents, distributed as a single compiled Go binary backed by embedded SQLite that requires no external services or infrastructure. Multiple AI agents — Claude Code, Cursor, Codex, or any MCP-compatible client — can connect to the same Guild instance to share knowledge (lore), claim tasks without collisions, and hand off work with structured session briefs. Developers use it to coordinate parallel agent workflows, preserve institutional knowledge across sessions, and enable agents to collaborate on large codebases without stepping on each other.

Prerequisites

  • A supported operating system: macOS, Linux, or Windows
  • No API keys required — Guild is fully local
  • At least one MCP-compatible client: Claude Code, Cursor, or Codex
  • Git (optional, for installing from source)
1

Install the Guild binary

Install Guild using the official install script on macOS/Linux, or via Homebrew. Windows is supported with keyword-only search (no semantic embeddings).

# macOS/Linux:
curl -fsSL https://github.com/mathomhaus/guild/releases/latest/download/install.sh | sh

# Homebrew:
brew install mathomhaus/tap/guild

# Verify:
guild --version
2

Initialize Guild for your project

Run guild init inside your project directory. It detects installed MCP clients (Claude Code, Cursor, etc.) and configures them automatically to connect to the Guild server.

cd ~/projects/myapp
guild init
3

Restart your MCP clients

After guild init completes, restart any MCP clients that were configured. They will connect to the local Guild SQLite store at ~/.guild/ and have access to all Guild tools.

4

Start a Guild session from your AI agent

At the beginning of a coding session, ask the AI agent to start a guild session. This loads the project oath, the most recent parting scroll (handoff notes), and the highest-priority quest.

5

Record knowledge and complete quests

Agents can inscribe lore (persistent knowledge), appraise (search) existing knowledge, accept quests atomically, and leave a brief at session end. Completed quests automatically unblock their dependencies.

guild lore inscribe "token refresh window" --kind observation \
  --summary "tokens expire at 1h; refresh by 55m to avoid race"

Guild Examples

Client configuration

After running guild init, the config is set automatically. This is the manual form for Claude Code's MCP config.

{
  "mcpServers": {
    "guild": {
      "command": "guild",
      "args": ["serve"]
    }
  }
}

Prompts to try

Sample prompts for coordinating multi-agent workflows with Guild.

- "Start a guild session for this project and show me the current quests"
- "Search guild lore for anything related to token refresh handling"
- "Accept the highest-priority quest and begin working on it"
- "Record in guild lore that the cache invalidation logic lives in src/cache.ts"
- "Write a parting scroll summarizing what was accomplished this session"

Troubleshooting Guild

guild command not found after installation

The install script places the binary in ~/.local/bin or /usr/local/bin. Ensure that directory is on your PATH: export PATH="$HOME/.local/bin:$PATH". Add this to your ~/.zshrc or ~/.bashrc to make it permanent.

Semantic search returns no results on Windows

Windows installations use keyword-only (BM25) retrieval because the ONNX embedding runtime is not supported on Windows. This is a known limitation. Use macOS or Linux for full hybrid keyword + semantic search.

Two agents claim the same quest simultaneously

Guild uses atomic SQLite locks to prevent this — the second claim will fail and the agent should call guild quest accept again to pick the next available quest. This behavior is by design to prevent collisions in parallel workflows.

Frequently Asked Questions about Guild

What is Guild?

Guild is a Model Context Protocol (MCP) server that shared context, memory, and task coordination across ai coding agents. single go binary, local sqlite, hybrid keyword and semantic search. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Guild?

Follow the installation instructions on the Guild GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Guild?

Guild works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Guild free to use?

Yes, Guild is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "guild": { "command": "npx", "args": ["-y", "guild"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Guild?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides