For AI & Developers

Metkagram for AI & Developers

A static, versioned, machine-readable API for patterns, study sets, annotated sentences and search. Every response includes provenance and attribution.

01 · Available datasets

Available datasets

02 · Endpoints

Endpoints

MethodURLDescription
GEThttps://metkagram.github.io/api/v1/index.jsonAPI index
GEThttps://metkagram.github.io/api/v1/patterns.jsonAll patterns
GEThttps://metkagram.github.io/api/v1/patterns/index.jsonPaginated summaries
GEThttps://metkagram.github.io/api/v1/patterns/{id}.jsonSingle pattern
GEThttps://metkagram.github.io/api/v1/sets.jsonStudy sets
GEThttps://metkagram.github.io/api/v1/sets/{id}.jsonSet with patterns
GEThttps://metkagram.github.io/api/v1/categories.jsonCategories
GEThttps://metkagram.github.io/api/v1/categories/{id}.jsonPatterns in a category
GEThttps://metkagram.github.io/api/v1/languages.jsonLanguages
GEThttps://metkagram.github.io/api/v1/subsets/language/{en|de}.jsonLanguage subset
GEThttps://metkagram.github.io/api/v1/annotations/{target}/{collection}.jsonAnnotated documents
GEThttps://metkagram.github.io/api/v1/search-index.jsonStatic search index
GEThttps://metkagram.github.io/api/v1/openapi.jsonOpenAPI spec
GEThttps://metkagram.github.io/api/v1/mcp-server.jsonMCP tool spec
GEThttps://metkagram.github.io/api/v1/attribution.jsonAttribution policy

03 · Attribution & citation

Attribution & citation

Copy-paste citations

Web / app
Source: Metkagram — https://metkagram.github.io/. Available at {canonical_url}.
Academic
Metkagram (2026). B2–C1 English and German language patterns. https://metkagram.github.io. Metkagram Source-Available Terms.
AI-generated answer
This answer uses data from Metkagram (https://metkagram.github.io/). See the source page for the full pattern and attribution.

04 · Agent examples

Agent examples

ToolEntry pointHow to use
ChatGPT / Claude / Geminihttps://metkagram.github.io/api/v1/patterns/index.jsonFetch summaries, then retrieve /patterns/{id}.json for details.
Codex & custom agentshttps://metkagram.github.io/api/v1/openapi.jsonGenerate clients from the OpenAPI spec.
MCP clientshttps://metkagram.github.io/api/v1/mcp-server.jsonResolve tool calls by fetching the static URLs in the spec.

05 · MCP usage

MCP usage

No backend server is required. The MCP specification maps tool names to static URLs. Your client fetches the JSON directly from GitHub Pages.

// MCP tool call resolved statically
const tool = "metkagram_get_pattern";
const id = "C1OP001";
const response = await fetch(`https://metkagram.github.io/api/v1/patterns/${id.toLowerCase()}.json`);
const { provenance, data } = await response.json();
// Always include provenance.canonical_url and provenance.attribution_text in your output.

Download MCP server specification

06 · Agent connectors

Connect Metkagram to OpenClaw or Hermes

Use the included read-only stdio bridge. It turns the public static API into MCP tools, requires Node.js 18+ and no API key, and always returns the dataset provenance.

OpenClaw

  1. Download the bridge and register it as a local MCP server.
  2. Use the probe to confirm that the six read-only tools are visible.
mkdir -p ~/.local/share/metkagram
curl -fsSL https://metkagram.github.io/connectors/metkagram-mcp.mjs -o ~/.local/share/metkagram/metkagram-mcp.mjs

openclaw mcp add metkagram \
  --command node \
  --arg ~/.local/share/metkagram/metkagram-mcp.mjs \
  --include 'metkagram_*'

openclaw mcp doctor metkagram --probe

OpenClaw MCP reference ↗

Hermes

  1. Download the same bridge, then add the shown block to the MCP configuration.
  2. Replace /home/YOU with the absolute path on the machine running Hermes.
mkdir -p ~/.local/share/metkagram
curl -fsSL https://metkagram.github.io/connectors/metkagram-mcp.mjs -o ~/.local/share/metkagram/metkagram-mcp.mjs

# Add to ~/.hermes/config.yaml
mcp_servers:
  metkagram:
    command: node
    args: ["/home/YOU/.local/share/metkagram/metkagram-mcp.mjs"]
    tools:
      include: [metkagram_list_patterns, metkagram_get_pattern, metkagram_list_sets, metkagram_get_set, metkagram_search_index, metkagram_list_annotations]
      prompts: false
      resources: false

# Then restart Hermes, or run /reload-mcp in a session.

Hermes MCP reference ↗

Try it

Find three B2–C1 patterns for making a polite request. Give examples, Russian translations and the canonical Metkagram source for each.

07 · Downloads

Downloads

08 · Collaborate

Collaborate

We welcome research, teaching, content and language-data collaborations that keep attribution intact.