
GunsNPrices
io.github.gunsnprices由 GitHub 帳號 gunsnprices 發布v0.1.1更新於 Oct 24, 2026
Parse gun and ammo titles (model, caliber, cost per round); find GunsNPrices price comparison pages
概覽
本機 MCP 伺服器,可將槍械與彈藥商品標題解析為品牌、型號、口徑與每發成本,並提供 GunsNPrices 比價頁面。
- 可以做什麼
- 解析商品標題,取出槍械或彈藥類型、品牌、型號、口徑、彈匣容量、槍管長度、每盒發數與每發成本
- 依標題或描述辨識槍械型號,可解讀 Glock 料號,涵蓋 50 個品牌
- 將 9mm Luger、300 BLK、6.5 CM 等口徑寫法統一為標準名稱,並回傳對應的彈藥價格頁
- 依價格與發數,或直接從標題計算每發成本
- 依型號、品牌或口徑尋找 GunsNPrices 比價頁面,優先回傳最精確的頁面
- 列出支援型號辨識的品牌與已知口徑
- 適用情境
- 適合助理回答槍械與彈藥選購問題:解讀艱澀的商品標題、比較不同包裝規格的每發成本,或把使用者導向正確的 GunsNPrices 比價頁面。也適合把槍械標題試算表整理成結構化欄位。
- 執行需求
- 以 npm 套件 gunsnprices-mcp 透過 npx 在本機執行,需要 Node.js 18 或更新版本;另提供 Docker 映像檔與 Claude Desktop 用的 MCP Bundle。不需 API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 GunsNPrices,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
GunsNPrices MCP server
[npm] [Tests] [License] [AllMCPs Verified]
An MCP server that helps AI assistants with gun and ammo shopping questions. It reads firearm and ammunition product titles (brand, model, caliber, magazine capacity, barrel length, rounds per box), computes cost per round, and points to the GunsNPrices pages that compare current prices across 40+ US gun and ammo stores.
It runs locally and needs no API key: everything comes from the open-source gunsnprices parser and a snapshot of GunsNPrices page links. It does not fetch live prices; for "where is it cheapest" questions the assistant gets the GunsNPrices pages to send you to.
Tools
All tools are read-only and work offline.
Install
The server is the npm package gunsnprices-mcp and runs with Node.js 18 or newer.
Claude Code
Claude Desktop: add to claude_desktop_config.json (Settings → Developer → Edit Config):
Cursor: the same block in ~/.cursor/mcp.json.
VS Code: .vscode/mcp.json:
Claude Desktop, one click: download gunsnprices-mcp-<version>.mcpb from the
latest release and open it (MCP Bundle, Node.js included
with Claude Desktop).
Docker:
Things to ask
- "What exactly is a
G19 GEN5 9MM 4.02 15RD FS MOS, and where can I compare prices?" - "Which of these 9mm listings is cheapest per round: $18.99 for 50, $289 for 1,000, $13.49 for 20?"
- "Is
300 BLKthe same as.300 AAC Blackout? Where do I compare ammo prices for it?" - "Clean up this spreadsheet of gun titles into brand, model, caliber and barrel length."
Example result of find_price_comparison_pages for "Glock 19":
Accuracy
The parsing is the gunsnprices library. On 63,755 listings from 40+ stores it recognizes the same model as gunsnprices.com in 99.97% of cases where the site knows the model, and gets the caliber right in 97.8% of firearm and 94.9% of ammo titles where it finds one. Details are in the library's README.
Related
- Parser library: npm, PyPI
- Open datasets of calibers and models: Hugging Face, GitHub, Kaggle
License
The code is under the MIT License. The page links in src/data/ come from the GunsNPrices
firearm-models dataset and are under
CC BY 4.0: credit GunsNPrices (gunsnprices.com) with a link.
Questions and corrections: open an issue or write to [email protected].
來源:README.md,提交 9b04413
工具
0版本歷史
2- v0.1.1最新Oct 13, 2026
- v0.1.0Oct 12, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分