npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@1e0zj/mcp-frontend-search

v1.0.0

Published

MCP Server for frontend code vector search — index Vue/JS/TS projects, semantic search via Qdrant + BM25 hybrid

Readme

@le0zj/mcp-frontend-search

MCP Server for frontend code vector semantic search.

Index Vue / JS / TS projects into Qdrant vector database, then search with natural language queries using hybrid vector + BM25 search with RRF fusion.

Tools

| 工具 | 说明 | |------|------| | index_frontend | 初始化前端向量索引(解析 Vue/JS/TS,生成向量索引到 Qdrant) | | search_frontend | 自然语言搜索前端组件(向量 + BM25 混合搜索) |

Install

npm install -g @le0zj/mcp-frontend-search
# 或直接用 npx

快速开始

1. 前置依赖

  • Qdrant 向量数据库(默认 localhost:6333)
  • 智谱 Embedding API Key(申请地址)
docker run -d -p 6333:6333 qdrant/qdrant

2. 全局注册一次

claude mcp add frontend-search \
  -e EMBEDDING_API_KEY=your_key \
  -- npx @le0zj/mcp-frontend-search

3. 进到项目目录,启动 Claude Code

cd D:/code/admin-web
claude

4. 直接对话

> 初始化前端索引
> 搜索用户管理相关的组件
> 搜索频道列表页面

索引隔离

Qdrant 中的索引按 project 字段(目录名)隔离,不同项目互不影响:

D:/code/admin-web/      → project: "admin-web"     ← 独立索引
D:/code/mobile-app/     → project: "mobile-app"    ← 独立索引

Environment Variables

| 变量 | 必须 | 说明 | |------|------|------| | EMBEDDING_API_KEY | ✅ | 智谱 Embedding API Key |

Requirements

  • Node.js >= 18
  • Qdrant vector database
  • Zhipu (智谱) Embedding API key

License

MIT