Connect
- Address
https://ai9k.vercel.app/api/mcp
- Transport
- Streamable HTTP, stateless
- MCP versions
2025-06-18, 2025-03-26, 2024-11-05
- HTTP methods
POST, OPTIONS
- Largest request body
- 64 KiB
- Rate limit
- 60 requests per 60 seconds, per IP address
A caller over the rate limit receives 429 with Retry-After. A body over the cap receives 413. Any method other than POST and OPTIONS receives 405 with the address of this page.
Add this to the MCP configuration of your client:
{
"mcpServers": {
"ai-coding-dictionary": {
"type": "http",
"url": "https://ai9k.vercel.app/api/mcp"
}
}
}
Or with Claude Code:
claude mcp add --transport http ai-coding-dictionary https://ai9k.vercel.app/api/mcp
6 tools, listed from the registry the server itself declares.
get_overviewOverview of the dictionary
What this dictionary covers: the number of terms, the curriculum sections in teaching order, the languages, and the files the site publishes for machines. Takes no required arguments. Use this first when you do not yet know whether the dictionary can answer the question.
Arguments
searchSearch the dictionary
Find terms by words. Matching ignores accents and letter case, and looks at the English and the Vietnamese text together, so query in the user's own words in either language. A word that few terms use counts for more than a common one, and a hit in the term's name counts for more than one in its text. A term whose whole name appears in the query comes first. A result that scores under a tenth of the best one is left out, so the list is short rather than noisy. This is word matching, not a search by meaning: when a question returns nothing useful, retry with the key noun. Use this when you have words or a question and no slug, then call get_term with a slug from the results.
Arguments
query string requiredWords to look for, at most 200 characters.
lang "vi" | "en" optionalLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
limit integer optionalHow many results to return, 1 to 20. The default is 8.
get_termRead one term
The full entry of one term: its description, the body and the usage dialogue as markdown, its section, the terms it links to and the terms that link to it, and the addresses of the term in the Learn view and on the map. Pass a slug such as "context-window"; the English term or its Vietnamese name also works. An unknown slug is not a dead end: found is false and suggestions names the nearest terms to retry with. Use this once search, get_section or get_related has given you a slug.
Arguments
slug string requiredThe term's slug, such as "context-window".
lang "vi" | "en" optionalLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
get_sectionList the terms of a section
The terms of one curriculum section, in teaching order, each with its description. Sections are numbered from 1; get_overview lists them. An unknown number comes back with found false and the sections that do exist. Use this to browse a part of the curriculum; use search when you have a question rather than a section.
Arguments
section integer requiredThe section's number, from get_overview.
lang "vi" | "en" optionalLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
get_relatedTerms linked to a term
The neighbours of a term in the link graph: the terms its entry links to, and the terms whose entries link to it, each with its description. It walks one step from a term you already have. Use this after get_term to widen an answer; use search when you have a question and no starting term. An unknown slug comes back with found false and suggestions.
Arguments
slug string requiredThe term's slug, such as "context-window".
lang "vi" | "en" optionalLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.
compareCompare terms
Two to 6 terms side by side: each one's description, body and section, whether they share a section, the links that run between them, and the terms that all of them link to. Use this when the question is "X vs Y" or "how does X differ from Y". Call search first if you only have names. An unknown slug lands in missing with suggestions, and the rest are still compared.
Arguments
slugs string[] requiredSlugs of the terms to compare, 2 to 6.
lang "vi" | "en" optionalLanguage of the text in the answer: "vi" (Vietnamese, the default) or "en" (English). Use the language the user writes in.