Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Fetch source code for npm packages to give AI coding agents deeper context
Jump to setup instructionsFetched from the repository for this visit.
Give coding agents access to any package's source code.
npm install -g opensrc
# Search a package's source
rg "parse" $(opensrc path zod)
# Read a specific file
cat $(opensrc path zod)/src/types.ts
# Works with any registry
find $(opensrc path pypi:requests) -name "*.py"
opensrc path fetches on first use, then returns the cached path instantly. See the CLI readme for full usage.
| Package | Description |
|---|---|
opensrc | CLI — fetch and cache source code from npm, PyPI, crates.io, and GitHub |
@opensrc/docs | Documentation site |
This is a Turborepo monorepo using pnpm workspaces. Use Node.js 24+ and pnpm 11.
pnpm install
turbo build
turbo dev
cargo build --manifest-path packages/opensrc/cli/Cargo.toml
cargo test --manifest-path packages/opensrc/cli/Cargo.toml
cargo fmt --manifest-path packages/opensrc/cli/Cargo.toml
cargo clippy --manifest-path packages/opensrc/cli/Cargo.toml -- -D warnings
cd apps/docs
pnpm dev
Apache-2.0
GitHub checked 87h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.