Skip to content

FormKit

4.59 / 5 composite score · 100.0% API recall · 55 questions evaluated

Vue Docs MCP provides deep access to the official FormKit documentation, covering Vue's most ergonomic form framework: <FormKit> and <FormKitSchema> components, the core node primitive, validation rules, all 42+ input types, the official plugin set (auto-animate, multi-step, local-storage, zod, floating-labels, ...), the i18n system, theming, and the full @formkit/* package surface (~320 API entries).

Big API surface

FormKit ships 12 packages. The MCP indexes them all: @formkit/vue, @formkit/core, @formkit/inputs, @formkit/validation, @formkit/i18n, @formkit/icons, @formkit/themes, @formkit/utils, @formkit/observer, @formkit/schema, @formkit/addons, plus the official plugin packages.

Activation

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

set_framework_preferences(formkit=true)

Tools

Semantic search over FormKit 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, 1.getting-started, 2.essentials, 3.inputs, 4.plugins, 5.guides, 6.api-reference

formkit_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. FormKit, createInput, createNode, useFormKitNodeById)

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

ParameterTypeDefaultDescription
topicstringAPI name or concept to explore

Resources

URIDescription
formkit://topicsFull table of contents
formkit://topics/{section}TOC for a specific section (e.g. formkit://topics/3.inputs)
formkit://pages/{path}Raw markdown of any doc page (e.g. formkit://pages/3.inputs/text)
formkit://api/indexComplete API entity index grouped by type
formkit://api/entities/{name}Details for a specific API (e.g. formkit://api/entities/createInput)
formkit://scopesAll valid search scope values

Prompts

PromptParametersDescription
debug_formkit_issuesymptom, code_snippet (optional)Systematic debugging workflow
compare_formkit_apisitems (comma-separated)Side-by-side comparison (e.g. group, list)
migrate_formkit_patternfrom_pattern, to_patternMigration guide between patterns

Coverage

AreaWhat's indexed
Core components<FormKit>, <FormKitSchema>, <FormKitMessages>, <FormKitIcon>, <FormKitSummary>
Input typesAll 42 official inputs: text, email, password, autocomplete, datepicker, taglist, repeater, multi-step, ...
Form compositionform, group, list, repeater — nested data structuring without prop drilling
ValidationBuilt-in rules, custom rules, async validation, message localization, conditional rules
SchemaFormKitSchema, $formkit/$el/$cmp shorthands, if/for/bind directives, reactive $-expressions
Core nodecreateNode, getNode, useFormKitNodeById, events (input, commit, prop, child, submit)
Pluginsauto-animate, auto-height-textarea, floating-labels, local-storage, multi-step, barcode, inertia, zod
i18n@formkit/i18n locales, runtime locale switching, message overrides
ThemingGenesis / Regenesis themes, Tailwind theme guide, sectionsSchema overrides
API reference~320 typed API entries across 12 @formkit/* packages
GuidesCustom inputs, Tailwind themes, restructuring sections, production optimization
IntegrationNuxt module (@formkit/nuxt), SSR-safe hydration

Benchmarks vs Context7

Evaluated on 50 FormKit 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.854.62
Completeness4.334.20
Correctness4.554.47
API Coverage4.584.53
Conciseness4.624.80
Composite4.594.52

Retrieval and Cost

MetricVue Docs MCPContext7
Path Recall95.5%80.9%
API Recall100.0%100.0%
Avg Response Tokens2,751893
Avg Latency0.70s1.75s
P95 Latency1.14s2.15s
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.
  • Both providers index formkit/docs-content (the same source markdown).
  • The evaluation framework is open source in the eval/ directory. Run make eval-compare to reproduce.