moe-mcp

moe-mcp

Enables querying a team of domain experts with automatic routing and traceable citations for accurate answers.

Category
访问服务器

README

moe — a team of domain experts, as agent skills

moe packages a mixture of domain experts as installable skills + subagents for your coding agent (Claude Code, Codex, Pi, …). Each expert owns a curated knowledge folder built from your materials (books, articles, docs); it answers by searching that folder (grep/read) and citing it — no RAG, no vector DB, no embeddings. A router skill picks the right expert(s) for a question and synthesizes a cited answer.

Install

dist/ is committed, so you never need Python to use the experts. Install with npx — with no flags it auto-detects your installed agent(s) (~/.claude, ~/.codex, .agents/.pi) and scope:

npx github:tiennt235/moe install       # or: npx skills add tiennt235/moe

# then, inside your agent:
/moe ask "which valve is on the left side of the heart?"

How it works

  • Expert = subagent. experts/<name>/EXPERT.md (optional guidance) + experts/<name>/knowledge/ (built markdown + INDEX.md). The expert reads the index, greps the files, and cites source · section · page.
  • Router = skill. Reads the roster (experts.yaml) and picks the matching expert(s) by reasoning over their descriptions — no embeddings. Then delegates and synthesizes.
  • Retrieval = agentic file search. Coding agents are already great at grep/read; that is the retrieval engine. Citations come from each knowledge file's front-matter + headings.

Install targets & delegation

Host Installs to Delegation
Claude Code .claude/skills/moe + .claude/agents/moe-* native subagents (Agent tool)
Codex .agents/skills/moe + .codex/agents + AGENTS.moe.md native subagents; paste the snippet into AGENTS.md
Pi / generic .agents/skills/moe inline expert-mode (no subagent primitive)
npx github:tiennt235/moe install --providers=claude,codex,agents --scope=project   # or --scope=global

Claude Code can also install via plugin marketplace (plugin/plugin.json), and any Agent-Skills host via npx skills add tiennt235/moe.

Portability

The repo is the shareable expert team — dist/ and knowledge/ are committed. Anyone gets your experts with npx github:tiennt235/moe install (or npx skills add tiennt235/moe). No database, snapshot, or re-embedding.

Layout

experts.yaml            roster (drives routing)
experts/<name>/         EXPERT.md · materials/ · knowledge/ (built)
skill/moe/              router skill source (SKILL.md + commands)
templates/              shared expert-behavior template
src/moe/                Python builder (extract → knowledge → dist)
bin/moe.mjs             Node umbrella CLI (install/build/scaffold/list)
dist/{claude-code,codex,agents,dev}/   committed per-host builds
plugin/plugin.json      Claude Code marketplace manifest

Contributing

Building experts is the authoring path, which needs Python (the material extractor). Clone the repo, then add experts one of two ways.

Add an expert by hand

uv run moe list                              # show the roster
uv run moe scaffold neurology -d "Clinical neurology…"   # new expert
#   drop material into experts/neurology/materials/, then:
uv run moe build && npx github:tiennt235/moe install

Add materials as path: (local) or url: entries under an expert in experts.yaml. Supported formats: PDF (+OCR), EPUB, MOBI (via Calibre), HTML, Markdown/text. (uv run moe also works as python -m moe or pip install -e . && moe.)

Or let the expert-builder do it

moe ships a meta-expert that builds other experts for you, so you rarely edit experts.yaml by hand. It is dev-only: it runs the Python authoring path, so it never ships to end users and lives only in the dev build.

Onboard it once, from a clone of this repo:

uv run moe build                             # builds knowledge + dist/ (incl. the dev build)
npx github:tiennt235/moe install --dev       # deploys the dev build into this repo's .claude/

Then, inside your coding agent, delegate to the moe-expert-builder subagent (or just ask, and the router routes to it). It works in two modes:

  • Guided ingest — give it a topic and materials (file paths or URLs); it ingests exactly those. Example: "build a neurology expert from these two PDFs and this article."
  • Auto-research — give it only a topic; it searches for authoritative, openly-licensed sources, proposes a shortlist for you to approve, then builds from the approved set. Example: "build a stoicism expert from public-domain sources."

Either way it scaffolds the expert, patches experts.yaml, runs uv run moe build, verifies the knowledge and its citations, and reports. Deploy the result to end users with npx github:tiennt235/moe install.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选