Skip to content

VeeValidate

4.21 / 5 composite score · 98.1% API recall · 54 questions evaluated

Vue Docs MCP provides deep access to the official VeeValidate documentation, covering Vue's leading form-validation library: the components API (<Form>, <Field>, <FieldArray>, <ErrorMessage>), the composition API (useForm, useField, useFieldArray, plus 20+ granular helpers), schema integrations (yup, zod, valibot, joi), the defineRule / configure global helpers, the i18n package, the Nuxt module, and migration paths from v3.

Activation

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

set_framework_preferences(vee_validate=true)

Tools

Semantic search over VeeValidate documentation. Uses the standard 6-step retrieval 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, guide, api, tutorials, examples, integrations

vee_validate_api_lookup

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

ParameterTypeDefaultDescription
api_namestringAPI name to look up (e.g. useField, useForm, Form, defineRule, useResetForm)

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

ParameterTypeDefaultDescription
topicstringAPI name or concept to explore

Resources

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

Prompts

PromptParametersDescription
debug_vee_validate_issuesymptom, code_snippet (optional)Systematic debugging workflow: identifies the concept, searches docs, looks up APIs, and provides a fix
compare_vee_validate_apisitems (comma-separated)Side-by-side comparison of APIs or patterns (e.g. useField, Field)
migrate_vee_validate_patternfrom_pattern, to_patternMigration guide between patterns (e.g. v3 directives to v4 components)

Coverage

AreaWhat's indexed
Components API<Form>, <Field>, <FieldArray>, <ErrorMessage> with full slot-scope reference
Composition APIuseForm, useField, useFieldArray, useFormContext
Field selectorsuseFieldValue, useFieldError, useIsFieldDirty, useIsFieldTouched, useIsFieldValid, useValidateField
Form selectorsuseFormValues, useFormErrors, useIsFormDirty, useIsFormTouched, useIsFormValid, useIsSubmitting, useIsValidating, useValidateForm, useSubmitCount
Programmatic settersuseSetFieldError, useSetFieldTouched, useSetFieldValue, useSetFormErrors, useSetFormTouched, useSetFormValues, useResetForm, useSubmitForm
Global helpersdefineRule, configure, getConfig, validate, validateObject, normalizeRules, toTypedSchema
Schema integrations@vee-validate/yup, @vee-validate/zod, @vee-validate/valibot, @vee-validate/joi
Built-in rules@vee-validate/rules (the full all rules registry)
i18n@vee-validate/i18n with locale registration and setLocale
Nuxt@vee-validate/nuxt module setup
ConceptsCross-field validation, async validation, nested objects/arrays, custom inputs, UI library integration, multistep forms, value formatting, checkboxes/radios, dynamic forms
Migrationv3 directives + ValidationProvider/Observer to v4 components and composition API

Benchmarks vs Context7

Evaluated on 49 VeeValidate 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.304.00
Completeness3.783.41
Correctness4.023.80
API Coverage4.153.57
Conciseness4.804.48
Composite4.213.85

Retrieval and Cost

MetricVue Docs MCPContext7
Path Recall42.6%39.8%
API Recall98.1%82.3%
Avg Response Tokens7,2691,086
Avg Latency1.08s1.66s
P95 Latency1.75s2.05s
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.
  • VeeValidate's docs cover advanced topics like multistep wizards and value formatting through example pages with live demos. Both providers can only index the prose; live demos are dropped during cleaning.
  • The evaluation framework is open source in the eval/ directory. Run make eval-compare to reproduce.