Source code search for every package on PyPI and npm.
Sourced.dev provides coding agents with direct access to dependency source code through the Model Context Protocol (MCP). Instead of relying on training data or web searches, agents can read, search, and navigate the actual source of any package — as if it were on your local machine.
Currently tracking all 800,000+ Python packages and all 3,000,000+ npm packages. New releases are indexed within 5 minutes of publication.
Install the MCP server in one command. It authenticates via GitHub and configures your coding agents automatically:
curl -sL sourced.dev/install | shThe installer will:
- Authorize with GitHub.
- Create an API key.
- Configure the MCP server for your selected agents.
Restart your coding agents after installation to start using Sourced.
The following coding agents are supported out of the box:
- Claude Code
- Claude Desktop (macOS)
- Cursor
- VS Code
- Windsurf
- Codex
- Gemini CLI
- Kiro
- Zed
- OpenCode
- Copilot CLI
- Antigravity
Sourced.dev exposes the following tools to your coding agent via MCP:
| Tool | Description |
|---|---|
read |
Read a file from a package's source code with line numbers. |
grep |
Search for a regex pattern across a package's source tree. |
glob |
Find files matching a glob pattern within a package. |
All tools accept an ecosystem (e.g. pypi, npm), a package_name, and an optional version (defaults to latest).
- PyPI — 800,000+ packages
- npm — 3,000,000+ packages
- Maven/Gradle — planned
- RubyGems — planned
- Crates.io (Rust) — planned
- Visit sourced.dev to learn more.
- View the Issues page to see open tasks or report a bug.
- Open a Pull Request to contribute.
MIT License — see LICENSE for details.