{"repo":"hpbyte/h-codex","free":true,"listed":false,"github":"https://github.com/hpbyte/h-codex","clone":"git clone https://github.com/hpbyte/h-codex.git","description":"A semantic code search tool for intelligent, cross-repo context retrieval.","language":"TypeScript","stars":27,"topics":["abstract-syntax-tree","agent","ai","claude-code","code-indexing","code-search","cursor","embedding","java","mcp"],"license":"MIT","category":"mcp-servers","readme_excerpt":"h-codex A semantic code search tool for intelligent, cross-repo context retrieval. ✨ Features - AST-Based Chunking : Intelligent code parsing using Abstract Syntax Trees for optimal chunk boundaries - Embedding & Semantic Search : Using OpenAI's text-embedding-3-small model (support for voyage-code-3 planned) - Vector Database : PostgreSQL with pgvector extension for efficient similarity search - Multi-Language Support : TypeScript, JavaScript, and extensible for other languages - Multi-Project Support : Index and search multiple projects - MCP Integration : Seamlessly connects with AI coding assistants through Model Context Protocol 🚀 Demo 💻 Getting Started h-codex can be integrated with AI assistants through the Model Context Protocol. Example with Claude Desktop Edit your claude mcp settings.json file: 🛠️ Development Prerequisites - Node.js (v18+) - pnpm - Package manager - Docker - For running PostgreSQL with pgvector - OpenAI API key for embeddings Getting Started 1. Clone the repository 2. Set up environment variables Edit the .env file with your OpenAI API key and other configuration options. 3. Install dependencies 4. Start PostgreSQL database 5. Set up the database 6. Start development server 🔧 Configuration Options Environment Variable Description Default ------------------------ ---------------------------------- ------------------------------------------------------- LLM API KEY LLM API key for embeddings Required LLM BASE URL LLM Base url key for embeddings h","default_branch":null,"files":null,"tree":[],"storefront":"/r/hpbyte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hpbyte/h-codex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}