Source code search for every package on PyPI and npm.
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:
Restart your coding agents after installation to start using Sourced.
The following coding agents are supported out of the box:
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).
MIT License — see LICENSE for details.