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 分

    请在仓库或注册中心条目中声明许可证。