Skip to content

Nuxt

4.80 / 5 composite score · 100% API recall · 49 questions evaluated

Vue Docs MCP provides deep access to the official Nuxt documentation, covering the full-stack framework's composables (useFetch, useAsyncData, useHead), components (NuxtLink, NuxtPage, NuxtLayout), configuration, directory structure, modules, and migration guides.

Activation

Nuxt is not enabled by default. Call set_framework_preferences to activate it:

set_framework_preferences(nuxt=true)

Tools

Semantic search over Nuxt 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
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, getting-started, directory-structure, guide, api, bridge, migration

nuxt_api_lookup

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

ParameterTypeDefaultDescription
namestringAPI name to look up (e.g. useFetch, NuxtLink, definePageMeta)

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

ParameterTypeDefaultDescription
namestringAPI name or concept to explore

Resources

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

Prompts

PromptParametersDescription
debug_nuxt_issuesymptom, code_snippet (optional)Systematic debugging workflow: identifies the concept, searches docs, looks up APIs, and provides a fix
compare_nuxt_apisitems (comma-separated)Side-by-side comparison of APIs or patterns (e.g. useFetch, useAsyncData or useState, useCookie)
migrate_nuxt_patternfrom_pattern, to_patternMigration guide between patterns (e.g. Nuxt 2 to Nuxt 3)

Benchmarks vs Context7

Evaluated on 49 Nuxt 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.964.98
Completeness4.824.61
Correctness4.904.84
API Coverage4.373.94
Conciseness4.944.76
Composite4.804.62

Retrieval and Cost

MetricVue Docs MCPContext7
API Recall100%89.8%
Avg Response Tokens3,689924
Avg Latency1.10s1.64s
Cost per Query (user-facing)Free$0.002

Notes on Fairness

  • Context7 is a general-purpose service covering 9000+ libraries. Vue Docs MCP is purpose-built for the Vue ecosystem.
  • The evaluation framework is open source in the eval/ directory. Run make eval-compare to reproduce.