Skip to main content
MCP server CX Codex

Sourced — Claude Code MCP server: read PyPI and npm source

Gives your coding agent access to the source code of any PyPI or npm package over MCP. Handy when you need to see how a library actually works instead of guessing from its docs.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http sourced https://mcp.sourced.dev/mcp
Open on GitHub

What Sourced does

Sourced plugs into a coding agent as an MCP server and exposes three tools. read returns a file from a package's source with line numbers, grep runs a regex across the package tree, and glob locates files by pattern. Each call takes an ecosystem such as pypi or npm, a package_name, and an optional version that falls back to the latest release.

Setup is a single command: curl -sL sourced.dev/install | sh. The script authorises you through GitHub, issues an API key, and writes the server config into whichever agents you pick. Restart the agents afterwards — they won't pick up the new config until you do.

Coverage spans all 800,000+ Python packages and 3,000,000+ npm packages, with new releases indexed within 5 minutes of publication. Maven/Gradle, RubyGems and Crates.io are listed as planned, so Rust, Ruby and Java dependencies are out of reach for now. MIT licensed.

What it helps with

  • check how a library handles edge cases its docs skip
  • trace which line in a package throws a given error
  • confirm what a function really does rather than what the README claims
  • inspect an unfamiliar dependency without cloning the repo
  • locate files in a package by pattern when the layout is unknown

Example prompts for the agent

  • Show me the source of the parse function in the PyPI package requests
  • Grep express for every place next is called
  • Glob the lodash package for *.d.ts files

How to install Sourced

Platform CLI: remote server

claude mcp add --transport http sourced https://mcp.sourced.dev/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Sourced

How do I install Sourced in Claude Code?

Run claude mcp add --transport http sourced https://mcp.sourced.dev/mcp, then restart the agent. There is also a one-line installer, curl -sL sourced.dev/install | sh, which handles GitHub auth, creates a key and configures the agents you select.

What does Sourced do?

It is an MCP server that searches the source code of PyPI and npm packages. Your agent gets read, grep and glob tools and works with a dependency's source as if it sat on your local disk.

Which ecosystems does Sourced support?

PyPI and npm. Maven/Gradle, RubyGems and Crates.io are listed as planned.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor