Skip to content

Maps packages to source code. Allows coding agents to search any dependency with grep.

License

Notifications You must be signed in to change notification settings

RyanCodrai/sourced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

302 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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).

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.

About

Maps packages to source code. Allows coding agents to search any dependency with grep.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published