Gunsnation

io.github.DynamicDeals由 GitHub 帳號 DynamicDeals 發布v1.0.0更新於 Oct 24, 2026

MCP server for real-time access to the Gunsnation firearms catalog and specifications.

概覽

AI 產生的概覽

讓助理接入 Gunsnation 槍械目錄,可依品牌、型號、UPC 或類別搜尋產品並取得完整規格資訊。

可以做什麼
  • 依名稱、品牌、型號、UPC 或類別搜尋槍械目錄,支援 limit 與 offset 分頁
  • 依 Handguns、Rifles、Shotguns 等類別篩選結果
  • 依 ID 取得單一槍械的完整詳情,包含規格、圖片與中繼資料
適用情境
適合建置需要 Gunsnation 即時槍械目錄資料的 AI 購物助理、零售或比價工具,以及產品探索類應用。
執行需求
以 npm 套件形式在本機執行(npx gunsnation-mcp),需桌面版 MCP 用戶端(如 Claude Desktop)。需要 Gunsnation 帳號,並透過 GUNSNATION_API_KEY 環境變數提供 API 金鑰;選用的 GUNSNATION_API_URL 可覆寫預設端點。需要連線至 Gunsnation API 的網路,金鑰限制為每分鐘 60 次請求。
安裝前請注意
需要 Gunsnation API 金鑰(GUNSNATION_API_KEY),應妥善保密,不要寫入共用設定或日誌。查詢與詳情請求會送往所設定的 Gunsnation API 位址,若自訂 GUNSNATION_API_URL,金鑰與請求將傳送至該主機。工具本身為唯讀,但目錄資料來自第三方,可能不完整或過時。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gunsnation,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Gunsnation MCP Server

The Gunsnation MCP Server is a lightweight integration layer that exposes the Gunsnation firearms catalog to AI assistants through the Model Context Protocol (MCP). It allows compatible AI clients to search, filter, and retrieve detailed firearm information using structured tool calls instead of manual API integration.

Designed for speed and simplicity, the server connects directly to the Gunsnation API and provides a clean, standardized interface for querying products by brand, model, UPC, or category. Assistants can also fetch full specifications, images, and metadata for individual firearms, making it ideal for retail, comparison, and product discovery workflows.

Built in TypeScript and distributed as an npm package, the server is easy to install and run locally or in hosted environments. With just an API key and an MCP-compatible client, developers can quickly add real-time firearm data access to their AI tools.

Key features • MCP-compatible firearm search and lookup tools • Real-time access to the Gunsnation product catalog • Simple installation via npm or npx • Lightweight, developer-friendly TypeScript codebase • Secure API-key authentication

This project is ideal for developers building AI shopping assistants, retail tools, or product discovery experiences that require up-to-date firearm data from Gunsnation.

Features

  • Search Firearms: Search the firearms database by name, brand, model, UPC, or category
  • Get Firearm Details: Retrieve comprehensive details about a specific firearm including specifications and images

Installation

bash
npm install gunsnation-mcp

Or use directly with npx:

bash
npx gunsnation-mcp

Configuration

Environment Variables

  • GUNSNATION_API_KEY (required): Your Gunsnation API key
  • GUNSNATION_API_URL (optional): Custom API URL (defaults to https://api.gunsnation.com)

Claude Desktop Configuration

Add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{  "mcpServers": {    "gunsnation": {      "command": "npx",      "args": ["gunsnation-mcp"],      "env": {        "GUNSNATION_API_KEY": "your_api_key_here"      }    }  }}

Available Tools

search_firearms

Search the Gunsnation firearms database.

Parameters:

  • query (optional): Search query for firearm name, brand, model, or UPC
  • category (optional): Category filter (e.g., "Handguns", "Rifles", "Shotguns")
  • limit (optional): Maximum number of results (1-100, default: 20)
  • offset (optional): Number of results to skip for pagination

Example:

Search for Glock handguns: { "query": "glock", "category": "Handguns", "limit": 10 }

get_firearm

Get detailed information about a specific firearm.

Parameters:

  • id (required): The ID of the firearm to retrieve

Example:

Get firearm details: { "id": 12345 }

Getting an API Key

  1. Create an account at gunsnation.com
  2. Go to Settings
  3. Click "Generate API Key" in the API Key section
  4. Copy your API key and keep it secure

Rate Limits

  • 60 requests per minute per API key

Development

bash
# Install dependenciesnpm install
# Buildnpm run build
# Run in development modeGUNSNATION_API_KEY=your_key npm run dev

License

MIT

來源:README.md,提交 c90de67

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。