Skip to content

Vue.js ​

4.82 / 5 composite score · 98.7% API recall · 173 questions evaluated

Vue Docs MCP provides deep access to the official Vue.js documentation, covering the core framework, Composition API, Options API, built-in components, directives, and the full API reference.

Usage ​

Pass framework: "vue" to docs_search, api_lookup and get_related. No activation is needed: every framework is always available.

Tools ​

Semantic search over Vue.js documentation. Uses a 6-step pipeline: embed query, hybrid search (dense + BM25), resolve HyPE hits, expand cross-references, rerank, and reconstruct into readable markdown.

ParameterTypeDefaultDescription
frameworkstringAlways "vue"
querystringDeveloper question or topic (max 2000 chars)
scopestring"all"Documentation section to search within
max_resultsinteger3Number of sections to return (1-20)

Scope values: all, guide, guide/essentials, guide/components, guide/reusability, guide/built-ins, guide/scaling-up, guide/best-practices, guide/typescript, guide/extras, api, tutorial, examples, glossary, style-guide

api_lookup ​

Fast exact-match API reference lookup with fuzzy fallback. Returns type signatures, descriptions, and usage examples directly from the API reference.

ParameterTypeDefaultDescription
frameworkstringAlways "vue"
api_namestringAPI name to look up (e.g. ref, onMounted, v-model)

Find related APIs, concepts, and documentation pages for a given API or topic.

ParameterTypeDefaultDescription
frameworkstringAlways "vue"
topicstringAPI name or concept to explore

Resources ​

URIDescription
vue://topicsFull table of contents
vue://topics/{section}TOC for a specific section (e.g. vue://topics/guide/essentials)
vue://pages/{path}Raw markdown of any doc page (e.g. vue://pages/guide/essentials/reactivity-fundamentals)
vue://api/indexComplete API entity index grouped by type
vue://api/entities/{name}Details for a specific API (e.g. vue://api/entities/ref)
vue://scopesAll valid search scope values

Prompts ​

PromptParametersDescription
debug_issueframework, symptom, code_snippet (optional)Systematic debugging workflow: identifies the concept, searches docs, looks up APIs, and provides a fix
compare_apisframework, items (comma-separated)Side-by-side comparison of APIs or patterns (e.g. ref, reactive or v-if, v-show)
migrate_patternframework, from_pattern, to_patternMigration guide between patterns (e.g. Options API to Composition API)

Benchmarks vs Context7 ​

Evaluated on 173 Vue.js questions scored by an LLM judge (Gemini, temperature 0) across 5 dimensions on a 1-5 scale.

Methodology

Each question has a ground-truth answer with expected API names and documentation paths. Both providers receive the same question and return documentation context. The judge scores the retrieved context on relevance, completeness, correctness, API coverage, and conciseness. See the eval/ directory in the repository for the full evaluation framework.

Overall Scores ​

MetricVue Docs MCPContext7
Relevance4.932.09
Completeness4.831.67
Correctness4.871.86
API Coverage4.531.90
Conciseness4.954.55
Composite4.822.41

Retrieval and Cost ​

MetricVue Docs MCPContext7
API Recall98.7%53.1%
Avg Response Tokens4,2131,739
Avg Latency1.44s1.72s
Cost per Query (user-facing)Free$0.002

Pass Rates ​

Percentage of questions where all judge dimensions scored at or above the threshold:

ThresholdVue Docs MCPContext7
All dimensions >= 583.8%6.4%
All dimensions >= 486.7%9.2%
All dimensions >= 388.4%13.3%
All dimensions >= 290.8%23.7%

Notes on Fairness ​

  • Context7 is a general-purpose service covering 9000+ libraries. Vue Docs MCP is purpose-built for the Vue ecosystem.
  • Context7 sometimes returns Vue 2 content for Vue 3 questions, which affects its scores.
  • The evaluation framework is open source in the eval/ directory. Run make eval-compare to reproduce.