Sourced.dev

Source code search for every package on PyPI and npm.

Sourced.dev

Website License PyPI Packages npm Packages MCP

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.

Quick Start

Install the MCP server in one command. It authenticates via GitHub and configures your coding agents automatically:

curl -sL sourced.dev/install | sh

The installer will:

  1. Authorize with GitHub.
  2. Create an API key.
  3. Configure the MCP server for your selected agents.

Restart your coding agents after installation to start using Sourced.

Supported Agents

The following coding agents are supported out of the box:

Capabilities

Sourced.dev exposes the following tools to your coding agent via MCP:

ToolDescription
readRead a file from a package's source code with line numbers.
grepSearch for a regex pattern across a package's source tree.
globFind 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).

Ecosystem Support

  • PyPI — 800,000+ packages
  • npm — 3,000,000+ packages
  • Maven/Gradle — planned
  • RubyGems — planned
  • Crates.io (Rust) — planned

Next Steps

License

MIT License — see LICENSE for details.

Related Servers