cocoindex-io / cocoindex-io/cocoindex-code

Error when attempting to use MCP search tool from Claude

Open
#65 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.7k
Forks
217
Avg merge
1d 4h
Merged PRs (30d)
4

Description

I followed the README installation steps and then attempted to use it with Claude Code.

I am getting this, seems like some extension needs to be installed:

● cocoindex-code - search (MCP)(query: "keeping track of codebase map, file hashes, code context, incremental updates", limit: 8)
  ⎿  {
       "success": false,
       "results": [],
       "total_returned": 0,
       "offset": 0,
       "message": "sqlite-vec extension must be loaded for vec0 virtual tables. Use connect(..., load_vec=True)"
     }
  ⎿  1 PostToolUse hook ran

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README installation steps and reproduce the MCP search tool call from Claude Code. Trace the SQLite connection setup around the reported sqlite-vec error and verify the extension is loaded; done means the search returns results without the virtual-table error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
cli, databases, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.