Reference Patterns
БесплатноНе проверенProvides access to self-contained, runnable implementation patterns across multiple programming languages via MCP tools for searching and retrieving documentati
Описание
Provides access to self-contained, runnable implementation patterns across multiple programming languages via MCP tools for searching and retrieving documentation and code examples.
README
Personal reference of implementation and testing patterns across languages
(TypeScript, Go, Protobuf — Rust and more as they come). Each pattern is a
self-contained, runnable example documented in its PATTERN.md, meant to be
consumed from other projects through MCP.
Layout
<language>/<category>/<pattern-slug>/
├── PATTERN.md # frontmatter (name, tags, description, origin, test command) + Problem/Solution/Path/Key points
└── ... # runnable code with its own manifest (package.json, go.mod, buf.yaml, ...)
- llms.txt is the generated index of every pattern — this is what MCP clients read first.
- Patterns never depend on each other.
- Each language directory is a workspace managed by its native tool:
pnpm-workspace.yaml(with acatalog:as the single place to bump TypeScript dependency versions),go.work, and per-crate Cargo for Rust. One rootpnpm installcovers every TypeScript pattern; bumping a catalog version + running./scripts/test-all.shre-verifies the whole reference at once. Toolchains needed locally: node + pnpm, go, buf, rust + cargo.
Consume via MCP (GitMCP)
This repo is served as an MCP server by GitMCP — no hosting, it reads the public repo directly. From any project:
claude mcp add --transport http patterns https://gitmcp.io/Skayfa/reference-patterns
or in mcpServers:
"patterns": {
"type": "http",
"url": "https://gitmcp.io/Skayfa/reference-patterns"
}
Exposed tools: fetch_reference_docs (returns llms.txt),
search_reference_docs, search_reference_code, fetch_generic_url_content.
Add a pattern
- Copy
templates/pattern/PATTERN.mdinto<language>/<category>/<slug>/. - Fill the frontmatter —
descriptionis what MCP search matches against;originrecords where the pattern was distilled from (source project + month);testis the commandscripts/test-all.shruns from the pattern directory (nonefor docs-only patterns). - Add the runnable code with its own manifest. TypeScript patterns are picked
up by the workspace glob automatically — use
"catalog:"versions (add new entries topnpm-workspace.yaml) andtest: pnpm test. ./scripts/generate-llms.shto refresh the index../scripts/test-all.sh— everything must pass before pushing.
Test everything
./scripts/test-all.sh
Установка Reference Patterns
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Skayfa/reference-patternsFAQ
Reference Patterns MCP бесплатный?
Да, Reference Patterns MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Reference Patterns?
Нет, Reference Patterns работает без API-ключей и переменных окружения.
Reference Patterns — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Reference Patterns в Claude Desktop, Claude Code или Cursor?
Открой Reference Patterns на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Reference Patterns with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
