
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 分