# MCP server and client architecture examples

Interactive architecture diagrams of 399 open-source repositories with a GitDiagram architecture diagram where a component or group speaks MCP (the Model Context Protocol), most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 200 most-starred projects that speak MCP here, the median diagram has 21 components. 73% draw a data store (most often files on disk, a vector store and SQLite), 49% have a command-line interface and 25% a web interface.

36% have an LLM or AI-model component, 100% speak MCP, 29% have a plugin or extension system, 26% are split into workspace packages (packages/, apps/, crates/ and similar) and 12% draw a queue or event bus.

The files their components link to most are index.ts (33), server.ts (23), main.py (20), App.tsx (18) and server.py (18).

Group names that recur: “user interfaces” (22), “agent runtime” (19), “platform services” (9), “integrations” (8) and “external integrations” (6).

By language: Python 40%, TypeScript 28%, Rust 10%, Go 7% and Java 3%.

## Repositories 1 to 50 of 399

1. [public-apis/public-apis](https://gitdiagram.com/public-apis/public-apis) (497k stars, Python): This repository is a community-curated catalog of public APIs, not an API execution platform. Markdown: https://gitdiagram.com/public-apis/public-apis.md
2. [morluto/rea](https://gitdiagram.com/morluto/rea) (445k stars, TypeScript): REA is a local reverse-engineering toolkit exposed through an MCP server and CLI. Markdown: https://gitdiagram.com/morluto/rea.md
3. [n8n-io/n8n](https://gitdiagram.com/n8n-io/n8n) (210k stars, TypeScript): n8n is a visual workflow-automation platform with AI-agent capabilities and a large integration ecosystem. Markdown: https://gitdiagram.com/n8n-io/n8n.md
4. [microsoft/markitdown](https://gitdiagram.com/microsoft/markitdown) (194k stars, Python): MarkItDown is a Python toolkit that converts local files, streams, and web resources into Markdown for text-analysis and LLM workflows. Markdown: https://gitdiagram.com/microsoft/markitdown.md
5. [anthropics/skills](https://gitdiagram.com/anthropics/skills) (186k stars, Python): This repository is a collection of Claude skills: instruction-led, task-specific capabilities, with scripts supporting document editing, PDF forms, skill authoring, MCP… Markdown: https://gitdiagram.com/anthropics/skills.md
6. [affaan-m/everything-claude-code](https://gitdiagram.com/affaan-m/everything-claude-code) (178k stars, JavaScript): - This is a cross-harness configuration and automation platform for AI coding tools, not a product app. Markdown: https://gitdiagram.com/affaan-m/everything-claude-code.md
7. [f/prompts.chat](https://gitdiagram.com/f/prompts.chat) (177k stars, MDX): prompts.chat is an open-source AI prompt library and community platform, with companion tools for building, using, and learning about prompts. Markdown: https://gitdiagram.com/f/prompts.chat.md
8. [langgenius/dify](https://gitdiagram.com/langgenius/dify) (160k stars, Python): Dify is an LLM application development platform. Markdown: https://gitdiagram.com/langgenius/dify.md
9. [langflow-ai/langflow](https://gitdiagram.com/langflow-ai/langflow) (155k stars, Python): Langflow is a visual platform for authoring, testing, and deploying AI workflows and agents. Markdown: https://gitdiagram.com/langflow-ai/langflow.md
10. [github/spec-kit](https://gitdiagram.com/github/spec-kit) (147k stars, Python): Spec Kit is a Python CLI and toolkit for configuring coding-agent projects and supplying reusable development processes. Markdown: https://gitdiagram.com/github/spec-kit.md
11. [farion1231/cc-switch](https://gitdiagram.com/farion1231/cc-switch) (142k stars, Rust): CC Switch is a desktop manager for configuring and switching AI coding-agent providers, with shared management of MCP servers, skills, and prompts. Markdown: https://gitdiagram.com/farion1231/cc-switch.md
12. [shubhamsaboo/awesome-llm-apps](https://gitdiagram.com/shubhamsaboo/awesome-llm-apps) (140k stars, Python): Awesome LLM Apps is a curated collection of independent AI-agent, agent-skill, and RAG applications—not one integrated runtime. Markdown: https://gitdiagram.com/shubhamsaboo/awesome-llm-apps.md
13. [openai/codex](https://gitdiagram.com/openai/codex) (133k stars, Rust): Codex CLI is a locally running coding agent: a user starts a session, the agent works with a model and can use local tools, then presents progress and results in the terminal. Markdown: https://gitdiagram.com/openai/codex.md
14. [browser-use/browser-use](https://gitdiagram.com/browser-use/browser-use) (120k stars, Python): Browser Use is a Python AI browser agent: a user supplies a task and model, the agent plans and invokes registered browser actions, and returns a result with history. Markdown: https://gitdiagram.com/browser-use/browser-use.md
15. [earendil-works/pi](https://gitdiagram.com/earendil-works/pi) (119k stars, TypeScript): Pi is an extensible coding-agent harness with interactive, print/JSON, RPC, and TypeScript-SDK entry points. Markdown: https://gitdiagram.com/earendil-works/pi.md
16. [juliusbrussee/caveman](https://gitdiagram.com/juliusbrussee/caveman) (108k stars, Go): Caveman reduces tokens in AI coding workflows: an agent’s requests pass through a local proxy, which compresses eligible content before forwarding it to a provider, while… Markdown: https://gitdiagram.com/juliusbrussee/caveman.md
17. [google-gemini/gemini-cli](https://gitdiagram.com/google-gemini/gemini-cli) (107k stars, TypeScript): Gemini CLI is a terminal-based AI coding agent. Markdown: https://gitdiagram.com/google-gemini/gemini-cli.md
18. [odysseus-dev/odysseus](https://gitdiagram.com/odysseus-dev/odysseus) (94.9k stars, Python): Odysseus is a self-hosted AI workspace. Markdown: https://gitdiagram.com/odysseus-dev/odysseus.md
19. [d4vinci/scrapling](https://gitdiagram.com/d4vinci/scrapling) (93.8k stars, Python): Scrapling is a web-scraping framework: users fetch static or browser-rendered pages, parse and extract content, or scale the same work into concurrent spiders with session… Markdown: https://gitdiagram.com/d4vinci/scrapling.md
20. [storybookjs/storybook](https://gitdiagram.com/storybookjs/storybook) (91.1k stars, TypeScript): Storybook is a TypeScript/JavaScript monorepo that ships a local UI workshop: it discovers component stories, builds or serves them, renders them in isolation, and provides… Markdown: https://gitdiagram.com/storybookjs/storybook.md
21. [paddlepaddle/paddleocr](https://gitdiagram.com/paddlepaddle/paddleocr) (90.7k stars, Python): PaddleOCR is a broad OCR and document-AI toolkit: users submit images or PDFs through its Python interfaces, run text recognition or document-parsing pipelines, and receive… Markdown: https://gitdiagram.com/paddlepaddle/paddleocr.md
22. [modelcontextprotocol/servers](https://gitdiagram.com/modelcontextprotocol/servers) (90.5k stars, TypeScript): This repository provides independent MCP reference servers. Markdown: https://gitdiagram.com/modelcontextprotocol/servers.md
23. [chatgptnextweb/nextchat](https://gitdiagram.com/chatgptnextweb/nextchat) (88.9k stars, TypeScript): NextChat is a browser-first AI assistant for chatting with multiple hosted or self-hosted model providers. Markdown: https://gitdiagram.com/chatgptnextweb/nextchat.md
24. [koala73/worldmonitor](https://gitdiagram.com/koala73/worldmonitor) (87.6k stars, TypeScript): World Monitor is a real-time global intelligence dashboard, with API and agent-facing interfaces as additional ways to access its data. Markdown: https://gitdiagram.com/koala73/worldmonitor.md
25. [bytedance/deer-flow](https://gitdiagram.com/bytedance/deer-flow) (83.5k stars, Python): DeerFlow 2.0 is an extensible agent harness: users submit work through the application, which coordinates agent runs and can draw on skills, subagents, memory, and sandboxes. Markdown: https://gitdiagram.com/bytedance/deer-flow.md
26. [cheaper-inference/omniroute](https://gitdiagram.com/cheaper-inference/omniroute) (82.4k stars, TypeScript): OmniRoute is a self-hosted AI gateway with a dashboard and CLI. Markdown: https://gitdiagram.com/cheaper-inference/omniroute.md
27. [netdata/netdata](https://gitdiagram.com/netdata/netdata) (80.9k stars, Go): Netdata is a real-time, edge-based infrastructure monitoring agent. Markdown: https://gitdiagram.com/netdata/netdata.md
28. [ruvnet/ruflo](https://gitdiagram.com/ruvnet/ruflo) (80.8k stars, TypeScript): Ruflo is an agent meta-harness for Claude Code, Codex, and MCP clients. Markdown: https://gitdiagram.com/ruvnet/ruflo.md
29. [pewdiepie-archdaemon/odysseus](https://gitdiagram.com/pewdiepie-archdaemon/odysseus) (79.1k stars, Python): - Odysseus is a self-hosted AI workspace built around a Python backend and a browser UI. Markdown: https://gitdiagram.com/pewdiepie-archdaemon/odysseus.md
30. [diegosouzapw/omniroute](https://gitdiagram.com/diegosouzapw/omniroute) (78.2k stars, TypeScript): OmniRoute is a unified AI gateway: clients send compatible requests to one endpoint, which routes them across provider connections and returns responses with fallback and… Markdown: https://gitdiagram.com/diegosouzapw/omniroute.md
31. [microsoft/ai-agents-for-beginners](https://gitdiagram.com/microsoft/ai-agents-for-beginners) (77k stars, Jupyter Notebook): This repository is a self-guided course for learning to build AI agents, not a single agent application. Markdown: https://gitdiagram.com/microsoft/ai-agents-for-beginners.md
32. [composiohq/awesome-claude-skills](https://gitdiagram.com/composiohq/awesome-claude-skills) (77k stars, Python): This repository is a curated collection of Claude Skills and practical agent utilities, not one application with a shared runtime. Markdown: https://gitdiagram.com/composiohq/awesome-claude-skills.md
33. [unslothai/unsloth](https://gitdiagram.com/unslothai/unsloth) (76.9k stars, Python): Unsloth is a desktop/web product for running and training local models, with Unsloth Studio as its backend-and-frontend application. Markdown: https://gitdiagram.com/unslothai/unsloth.md
34. [storytold/photocraft](https://gitdiagram.com/storytold/photocraft) (75.6k stars, Rust): PhotoCraft is a native Rust image editor, with CLI, web, and automation interfaces. Markdown: https://gitdiagram.com/storytold/photocraft.md
35. [openbb-finance/openbbterminal](https://gitdiagram.com/openbb-finance/openbbterminal) (75.2k stars, Python): Open Data Platform (ODP) is a financial and economic data integration platform: users query standardized data through Python, the CLI, or API surfaces, and receive structured… Markdown: https://gitdiagram.com/openbb-finance/openbbterminal.md
36. [headroomlabs-ai/headroom](https://gitdiagram.com/headroomlabs-ai/headroom) (74.5k stars, Python): Headroom is a local context-optimization product for AI applications and agents. Markdown: https://gitdiagram.com/headroomlabs-ai/headroom.md
37. [usestrix/strix](https://gitdiagram.com/usestrix/strix) (74.3k stars, Python): Strix is an AI-driven penetration-testing product: users launch local scans or use its cloud interface, agents explore targets and validate vulnerabilities, and the system… Markdown: https://gitdiagram.com/usestrix/strix.md
38. [thedaviddias/front-end-checklist](https://gitdiagram.com/thedaviddias/front-end-checklist) (74.2k stars, MDX): Front-End Checklist is a web-based frontend quality system. Markdown: https://gitdiagram.com/thedaviddias/front-end-checklist.md
39. [safishamsi/graphify](https://gitdiagram.com/safishamsi/graphify) (74.1k stars, Python): - Graphify is a Python CLI package that turns a codebase or document corpus into a navigable knowledge graph. Markdown: https://gitdiagram.com/safishamsi/graphify.md
40. [openbq-org/openbb](https://gitdiagram.com/openbq-org/openbb) (73.9k stars, Python): Open Data Platform (ODP) is a data-integration runtime: users request standardized financial or economic data, provider integrations fetch and shape it, and results are exposed… Markdown: https://gitdiagram.com/openbq-org/openbb.md
41. [openbb-finance/openbb](https://gitdiagram.com/openbb-finance/openbb) (73.4k stars, Python): Open Data Platform (ODP) connects financial and economic data providers to Python, REST/Workspace, CLI, and MCP consumers. Markdown: https://gitdiagram.com/openbb-finance/openbb.md
42. [cline/cline](https://gitdiagram.com/cline/cline) (70.2k stars, TypeScript): Cline is a coding-agent product spanning a terminal CLI, shared SDK/core, VS Code integration, and Cline Hub. Markdown: https://gitdiagram.com/cline/cline.md
43. [code-yeongyu/oh-my-openagent](https://gitdiagram.com/code-yeongyu/oh-my-openagent) (69.6k stars, TypeScript): OmO is an AI coding and research agent harness: a user describes work, and the agent can plan, delegate, use tools, and verify results. Markdown: https://gitdiagram.com/code-yeongyu/oh-my-openagent.md
44. [shanraisshan/claude-code-best-practice](https://gitdiagram.com/shanraisshan/claude-code-best-practice) (68.9k stars, HTML): This repository is a Claude Code practice and example collection, not an application runtime. Markdown: https://gitdiagram.com/shanraisshan/claude-code-best-practice.md
45. [openinterpreter/openinterpreter](https://gitdiagram.com/openinterpreter/openinterpreter) (68.4k stars, Rust): Open Interpreter is a Rust coding-agent CLI that emulates multiple agent harnesses, with a terminal interface and compatibility protocols. Markdown: https://gitdiagram.com/openinterpreter/openinterpreter.md
46. [coollabsio/coolify](https://gitdiagram.com/coollabsio/coolify) (65.7k stars, PHP): Coolify is a self-hosted deployment and infrastructure-management platform. Markdown: https://gitdiagram.com/coollabsio/coolify.md
47. [warpdotdev/warp](https://gitdiagram.com/warpdotdev/warp) (65.1k stars, Rust): Warp is an agentic development environment built around a terminal. Markdown: https://gitdiagram.com/warpdotdev/warp.md
48. [usememos/memos](https://gitdiagram.com/usememos/memos) (63.6k stars, Go): Memos is a self-hosted, Markdown-first notes timeline: users create memos, add files, find and revisit them, and choose whether to keep them private or share them. Markdown: https://gitdiagram.com/usememos/memos.md
49. [sansan0/trendradar](https://gitdiagram.com/sansan0/trendradar) (63.3k stars, Python): TrendRadar collects trending-news and RSS data, analyzes and filters it, then produces reports and notifications; it also exposes stored data and analytics through an MCP server. Markdown: https://gitdiagram.com/sansan0/trendradar.md
50. [mvanhorn/last30days-skill](https://gitdiagram.com/mvanhorn/last30days-skill) (63.1k stars, Python): last30days is an agent-led, multi-source research engine: a topic is planned into searches, source adapters gather recent evidence in parallel, and results are consolidated into… Markdown: https://gitdiagram.com/mvanhorn/last30days-skill.md

Next page: https://gitdiagram.com/architecture-examples/mcp/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
