Local Component

•

Empowers AI coding assistants with accurate, AST-extracted insights into proprietary component libraries, eliminating hallucinations and enabling precise code generation.

When using AI coding assistants on enterprise codebases, they often hallucinate prop names, event handlers, and types for internal components because they lack knowledge of these private, in-house libraries. This tool solves this by acting as an MCP Server that leverages AST-level static analysis to extract only the public interface—Props, Events, Slots, comments, and other relevant metadata—from Vue/React components, state management stores, composables/hooks, and TypeScript type definitions. It serves this clean, structured JSON to the AI, providing documentation-quality information, drastically reducing token usage by up to 80% compared to sending raw source files, and eliminating hallucinations for accurate, reliable code generation within proprietary projects.

主な機能

01Analysis of state management stores including Pinia, Vuex, Zustand, Redux Toolkit, and Jotai
020 GitHub stars
03Zero hallucinations on prop names, types, defaults, and required fields for private components
04AST-based extraction of public interfaces (Props, Events, Slots) using `vue-docgen-api` and `react-docgen`
05Up to 80% token savings compared to sending full component files to the AI model
06Composables / Hooks analysis, extracting signatures, param types, return shapes, and JSDoc

ユースケース

01Generate accurate code for internal components by providing AI with precise prop and event details, preventing hallucinations.
02Understand the full component dependency tree of any page or view before making edits or adding new features.
03Safely refactor components by identifying all usage locations within the project, including line numbers and passed values.