Skip to main content
Glama
RyanCodrai

Sourced.dev

by RyanCodrai

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.

Related MCP server: CodeGraph

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.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    A codemode MCP server for fetching and querying dependency source code from npm, PyPI, crates.io, and GitHub. It allows agents to execute server-side JavaScript for context-efficient searching and browsing of large codebases without overwhelming the LLM's context window.
    1
    52 npm
    41
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to search code by meaning, explore codebase structure, store and query knowledge with temporal facts, and read source code through a set of MCP tools.
    267 npm
    7
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI coding agents to efficiently explore codebases by providing structural outlines, module digests, symbol bodies, and AST-aware grep via MCP.
    4
    4 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI coding agents to search and access open-source code, documentation, and package information via a local MCP server.
    2,323 npm
    107
    Apache 2.0