Meridian

io.github.ajc3xc由 GitHub 账号 ajc3xc 发布v1.0.2更新于 Oct 24, 2026

Persistent memory, task coordination, and HITL queue for AI coding sessions.

概览

AI 生成的概览

为 AI 编程会话提供共享项目状态的 MCP 服务器:任务日志、固定决策、人工介入队列和压缩交接。

可以做什么
  • 注册会话并载入项目目标、冲刺条目和近期任务
  • 记录、列出和认领任务,支持按符号级认领文件,让并行会话安全编辑同一文件
  • 记录并固定决策,发起带推荐选项的人工介入请求
  • 生成分级交接,让新会话从上次中断处继续
  • 在本地仪表盘查看会话、任务、冲刺看板、时间线和人工介入队列
  • 托管版可选接入 GitHub 仓库,读取文件、搜索代码、查看提交记录
适用场景
适合长时间 AI 编程会话容易丢失上下文、多个会话或不同 MCP 客户端协作同一项目,或希望任务日志和决策记录在上下文重置后仍可查的场景。
运行要求
可使用托管端点(OAuth 登录或通过 Bearer Authorization 头传 API 密钥),或自托管本地服务器(二进制、uv 安装或 pixi 源码运行),默认监听 7878 端口。状态默认存于 SQLite,也可通过 MERIDIAN_DB_URL 指向 Postgres;MERIDIAN_DATA_DIR 和 MERIDIAN_PORT 为可选项。自托管无需 API 密钥。
安装前请注意
托管版需要账号,30 天试用后需付费(Standard 每月 20 美元);Pro 隧道客户端需要 API 令牌。API 密钥属于机密。会话会写入共享状态(任务、认领、决策、交接),其他会话和团队成员可见;可选钩子会修改 Claude Code 或 Codex 的配置文件。预编译二进制未签名、未公证,运行前应核对发布的校验和。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Meridian,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 SSE。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.ajc3xc%2Fmeridian/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "meridian": {
      "type": "sse",
      "url": "https://usemeridian.us/mcp/sse"
    }
  }
}

README

[Meridian]

Meridian

Shared, structured project state for long-running AI coding work.

Source-available MCP server for persistent project state — shared task log, pinned decisions, human-in-the-loop queue, and tiered handoffs. Works with Claude Code, Cursor, Cline, Claude Desktop, or any MCP client.

Built-in agent memory (for example Claude Code's CLAUDE.md files and auto memory) keeps notes as files for that agent. Meridian adds a shared, queryable project record that several sessions and different MCP clients can read and update. It works alongside built-in memory rather than replacing it.

[GitHub Stars] [License: MSL-1.0] [Tests] [Docs] [Hosted] [Neon] [Server] [MCP Tools] [Live Sessions]

Why Meridian

Every AI coding session boots blind. You re-explain the architecture, re-describe the constraints, re-list what's been tried. When context fills up mid-task, detail is lost. This is context debt — and it compounds.

Meridian gives your sessions shared memory. They see the same task log, the same pinned decisions, the same goal state. When context fills up, a new session resumes from a compressed handoff. No copy-paste, no re-explaining from scratch.

[Meridian dashboard]

What it is, in 30 seconds

A local MCP server every AI session connects to. They share goal state, see each other's task log, and resume from a compressed handoff when context fills up.

Two ways to run Meridian:

  • Self-host — free forever, any team size. Clone and run in 2 commands.
  • Hosted at usemeridian.us — 30 days free (no card), then $20/mo Standard.

Quickstart

Option 1 — binary release (recommended)

Prebuilt downloads are attached to every GitHub release. They are unsigned; each release includes a SHA256SUMS file to check downloads against.

  • Windows tray app (meridian-tray.exe): a system-tray icon that runs the dashboard server. Choose Open Dashboard from the tray menu, which opens http://127.0.0.1:7878.
  • macOS tray app (meridian-tray-mac.dmg): the same tray app. The app is not notarized, so the first launch needs right-click > Open.
  • Linux: there is no tray app yet. Use the uv install below.
  • meridian.exe, meridian-linux, meridian-mac-arm64: the tunnel client only (meridian --tunnel --repo ., Pro plan and API token required). They do not serve the dashboard.

Dashboard via uv (Linux, macOS, Windows):

bash
uv tool install meridian-server
meridian

Dashboard opens at http://localhost:7878. The data directory defaults to ./data; set MERIDIAN_DATA_DIR to change it.

Pro tunnel client (optional):

bash
meridian --tunnel --repo .

Linux / macOS (installer script, uses uv):

bash
curl -fsSL https://usemeridian.us/install.sh | sh

Windows (PowerShell, installs the tunnel client meridian.exe):

powershell
irm https://usemeridian.us/install-windows.ps1 | iex

Option 2 — from source (dev setup / self-host)

Linux / macOS:

bash
git clone https://github.com/meridianmcp/Meridian
cd Meridian
./install.sh
pixi run start

Windows (PowerShell):

powershell
git clone https://github.com/meridianmcp/Meridian
cd Meridian
.\install.ps1
pixi run start

Dashboard opens at http://localhost:7878. Data persists in ./data/meridian.db.

Wire it into your AI client

Claude Code

Drop a .mcp.json at your project root.

Hosted (no install) — generate an API key at usemeridian.us/settings:

json
{
  "mcpServers": {
    "meridian": {
      "type": "http",
      "url": "https://usemeridian.us/mcp",
      "headers": { "Authorization": "Bearer sk_meridian_YOUR_KEY_HERE" }
    }
  }
}

Self-host (from source):

json
{
  "mcpServers": {
    "meridian": {
      "command": "pixi",
      "args": ["run", "python", "-m", "meridian", "--mcp"],
      "cwd": "/absolute/path/to/Meridian"
    }
  }
}

Self-host (tray app or uv install already running on port 7878):

json
{
  "mcpServers": {
    "meridian": {
      "type": "http",
      "url": "http://127.0.0.1:7878/mcp"
    }
  }
}

Use the same mcpServers key in ~/.claude.json to make it available in every project. A self-hosted server needs no API key. If you set MERIDIAN_PORT, change the port in the URL to match.

Cursor / Windsurf

Same JSON snippet — both clients read .mcp.json from the project root.

Claude Desktop

Add the same mcpServers block to:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Restart Claude Desktop. New chats have Meridian tools. If a newly deployed tool is still missing, follow the MCP tool-surface freshness guide before editing any client cache.

claude.ai web (recommended for planning chat)

A claude.ai connector cannot reach http://localhost. Pick one of these:

  • Hosted (no install): in claude.ai go to Customize > Connectors > Add custom connector, set the URL to https://usemeridian.us/mcp, and complete the OAuth prompt.
  • Self-hosted, Chrome bridge: use dnakov/claude-mcp, included as a submodule:
    bash
    git clone --recurse-submodules https://github.com/meridianmcp/Meridian
    Open chrome://extensions, enable Developer mode, click Load unpacked, and select extensions/claude-mcp. Set the bridge URL to http://localhost:7878/mcp/sse.
  • Self-hosted, public URL: expose your server over HTTPS and add https://<your-host>/mcp as the connector.

Full steps are in the browser connector guide.

Hosted tier (no install)

Sign in at usemeridian.us → Settings → MCP client setup → Generate API key → Copy config.

Or manually:

json
{"mcpServers":{"meridian":{"type":"http","url":"https://usemeridian.us/mcp","headers":{"Authorization":"Bearer sk_meridian_YOUR_KEY_HERE"}}}}

claude.ai (browser) users: no extension is needed for hosted Meridian. Add https://usemeridian.us/mcp under Customize > Connectors. See the browser connector guide.

Get your API key at usemeridian.us/settings after sign-in. Free tier: 30 days, no card, full features.

What you get

  • Dashboard at http://localhost:7878 — sessions, tasks, sprint board, swimlane timeline, HITL queue, pinned decisions.
  • MCP tools — start_session, log_task, claim_task, set_decision, pin_decision, request_hitl, generate_handoff, and ~50 more.
  • Symbol-level parallel safety — claim_file can claim a single class or function (parsed with ast / tree-sitter) so two sessions edit the same file safely; an overlapping claim is blocked with the free symbols listed.
  • Live work queue — planners inject sprint items mid-run; executors pick them up at the next item boundary via a board_change signal, no interruption.
  • HITL recommended option — request_hitl can flag a safe-default option the dashboard highlights; Enter submits it, number keys pick others.
  • GitHub hub (hosted) — connect your repo once in Settings; sessions get read_file, list_files, meridian_github_search_code, git_log, and meridian_github_get_commit injected automatically. No extra install.
  • Tiered handoffs — L0/L1/L2 compression so a fresh session can pick up where the last one stopped.
  • Webhook intake — push events from LangGraph / Autogen / custom agents into the same dashboard.
  • Works everywhere — Claude Code, Claude Desktop, Cursor, Windsurf, LangGraph, custom.

How it works

> start_session(project_id="meridian", session_name="feature-x")
  ✓ session registered · sprint loaded · 12 active tasks

> get_tasks(project_id="meridian", limit=5)
  [DONE]    backend / wire decisions_pinned table
  [PENDING] frontend / add notes vtab (claimed by session-2)

> claim_task(task_id="a1f3...")
  ✓ claimed — other sessions skip this one

State lives in data/meridian.db (SQLite) or a Postgres URL via MERIDIAN_DB_URL. No cloud required for local use.

Team coordination

Point MERIDIAN_DB_URL at a shared Postgres (Neon free tier works great). Every teammate runs their own local Meridian against the same DB — instant shared sessions, no Meridian server in the cloud.

Auto-checkpoint with hooks

One command wires Claude Code and Codex to Meridian. Every session start injects your project context automatically. Every session end snapshots completed work and writes a delta handoff.

Mac/Linux:

bash
curl -fsSL https://usemeridian.us/hooks.sh | bash

Windows:

powershell
irm https://usemeridian.us/hooks.ps1 | iex

Prompts for your Meridian server URL (default http://localhost:7878), then opens your browser to connect this machine — no project ID or API token to paste. Writes to ~/.claude/settings.json (Claude Code) or ~/.codex/config.toml (Codex). After setup, every session automatically:

  1. On start — calls POST /hooks/session-start → injects goal, sprint items, recent tasks, and pinned decisions into the session context via additionalContext.
  2. On stop — calls POST /hooks/stop → runs auto_capture and writes a delta handoff so the next session resumes from where this one ended.

No more manual start_session() calls. No lost work when context fills.

Hosted tier

StandardPro
Price$20/mo$49/mo (waitlist)
Storage1 GB included10 GB included
Compute2 CU · 100 hrs/mo4 CU · 300 hrs/mo
Bring your own Postgres✓✓
OAuth + email magic link✓✓
Extra storage$0.50 / GB-month$0.50 / GB-month
SupportEmailPriority

30-day free trial · no card required

License

MSL-1.0 — free for local and internal use at any team size. Paid license required if you host Meridian as a service for others. Converts to MIT after 6 years.

For licensing questions: [email protected]

Contributors

Built by @ajc3xc

[Add to Cursor]

来源:README.md,提交 264d33a

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。