
Sourced
dev.sourced由 sourced.dev 發布官方發布者v1.0.1更新於 Oct 24, 2026
Source code search for every package on PyPI and npm.
概覽
遠端 MCP 伺服器,讓程式設計助理讀取、搜尋與瀏覽 PyPI 和 npm 套件的原始碼。
- 可以做什麼
- 附行號讀取套件原始碼中的某個檔案
- 在套件的原始碼樹中依正規表示式搜尋
- 在套件內依 glob 樣式尋找檔案
- 所有工具都接受生態系(PyPI 或 npm)、套件名稱與選用版本,版本預設為最新
- 適用情境
- 適合程式設計助理需要查看相依套件的實際實作、而非依賴訓練資料或網頁搜尋的情況,例如核對 API、追查錯誤或確認某個套件特定版本的行為。
- 執行需求
- 透過 streamable HTTP 連線至 mcp.sourced.dev 遠端端點,不需本機套件或執行環境。文件中的安裝腳本會以 GitHub 授權、建立 API 金鑰並設定支援的程式設計助理,因此採用該方式需要 GitHub 帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Sourced,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/dev.sourced%2Fsourced/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"sourced": {
"type": "http",
"url": "https://mcp.sourced.dev/mcp"
}
}
}README
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:
The installer will:
- Authorize with GitHub.
- Create an API key.
- 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:
- Claude Code
- Claude Desktop (macOS)
- Cursor
- VS Code
- Windsurf
- Codex
- Gemini CLI
- Kiro
- Zed
- OpenCode
- Copilot CLI
- Antigravity
Capabilities
Sourced.dev exposes the following tools to your coding agent via MCP:
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
- Visit sourced.dev to learn more.
- View the Issues page to see open tasks or report a bug.
- Open a Pull Request to contribute.
License
MIT License — see LICENSE for details.
來源:README.md,提交 e58ee01
工具
0版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分