About Pysearch MCP
Pysearch MCP is an MCP server published by mn-90 in the Developer Tools category: mCP stdio server for indexing venvs and searching from those or preexisting indexes.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/mn-90/pysearch_mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Pysearch MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
3 checks have not been run yet.
README
pysearch_mcp
This repo contains a mcp server that should improve the search of python code and examples.
For this, it creates a search index based on lunr, and a mcp server based on fastmcp.
To retrieve input, it can read from:
- existing lunr search indexes, e.g. from existing mkdocs documentation
- code of virtual environments (narrow the package search with search patterns)
Usage
Terminal
To call the mcp server, you can use:
# module call
uv pip install pysearch_mcp
python -m pysearch_mcp
# script call
uv pip install pysearch_mcp
pysearch_mcp
# uvx tool
uvx pysearch_mcp@0.1.0
VS Code
Use one of the methods mentioned above with the given args in mcp.json of vscode.
{
"servers": {
"pysearch_mcp": {
"type": "stdio",
"command": "uvx",
"args": [
" pysearch_mcp@0.1.0", // pin the version in production
"--venv-paths", ".venv", // list one or more venvs
"--venv-search-patterns", "pysearch*", // limit to a list of patterns to avoid loading all packages to the index
"--search-index-paths", "tests/repo/search/search_index.json" // add additional search indexes
],
}
},
"inputs": []
}
In Agent mode, use:
#py_search <my_search_query>
Example:
With #pysearch
How do i use function xyz
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.