Fossick — Claude Code MCP server: search code
Fossick lets an AI agent search GitHub, PyPI, and npm for libraries, repositories, and real code usage. Use it when evaluating a dependency or API.
claude mcp add fossick -- uvx fossick-mcpWhat Fossick does
Fossick exposes seven read-only tools for code discovery. The server searches GitHub repositories and packages on PyPI and npm, ranks results by relevance, opens a remote repository tree, and reads files without a local clone. It can also locate class, function, and type definitions and search public code for real API usage.
Use it to compare libraries, inspect a dependency before adoption, or trace an unfamiliar project from its repository layout to the relevant source file. It can surface examples from production code and help check recent package activity. Fossick does not handle blame, pull request history, or version diffs; those tasks belong to git and gh.
Install uv first, then run the server through uvx fossick-mcp. Without uv, the setup command will fail.
What it helps with
- find a library for a specific task
- check a package before adding it
- inspect a repository without cloning it
- locate real API usage in public code
- compare dependency freshness and activity
Example prompts for the agent
- Find a small Rust terminal UI library and compare it with the common alternatives.
- Show how public FastAPI projects configure structured logging with
structlog. - Browse
astral-sh/uv, locate the definition of the target class, and read its source file.
How to install Fossick
Platform CLI
claude mcp add fossick -- uvx fossick-mcpuvx runs the command named after the package; if the README names another one, use uvx --from fossick-mcp <command>
Platform CLI
codex mcp add fossick -- uvx fossick-mcpuvx runs the command named after the package; if the README names another one, use uvx --from fossick-mcp <command>
Config file
{
"mcpServers": {
"fossick": {
"command": "uvx",
"args": [
"fossick-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from fossick-mcp <command>
Config file
{
"servers": {
"fossick": {
"type": "stdio",
"command": "uvx",
"args": [
"fossick-mcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from fossick-mcp <command>
Platform CLI
gemini mcp add fossick uvx fossick-mcpuvx runs the command named after the package; if the README names another one, use uvx --from fossick-mcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Fossick
How do I install Fossick in Claude Code?
Install uv, then run claude mcp add fossick -- uvx fossick-mcp.
What does Fossick do?
It gives an agent read-only tools for finding repositories, packages, and code patterns across GitHub, PyPI, and npm. It can inspect remote repository files without cloning them.
Does Fossick change project files?
No. Its tools are read-only and are used to search and inspect published code.