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. CC BY-NC 4.0.
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 · Downloads

Downloads

07 · Collaborate

Collaborate

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