Connects Claude to the Gunsnation firearms catalog API with two tools: search_firearms for querying by brand, model, UPC, or category with pagination, and get_firearm for pulling full specs and images by ID. You'll need a Gunsnation API key and can run it via npx or install the npm package. Rate limited to 60 requests per minute. Useful if you're building retail comparison tools, product discovery flows, or shopping assistants that need real-time access to firearm inventory and specifications without rolling your own API client.
Public tool metadata for what this MCP can expose to an agent.
search_firearmsSearch the Gunsnation catalog for firearms by name, category, caliber, or price range4 paramsSearch the Gunsnation catalog for firearms by name, category, caliber, or price range
limitnumberquerystringoffsetnumbercategorystringget_firearmGet detailed specifications for a specific firearm by ID1 paramsGet detailed specifications for a specific firearm by ID
idnumberget_dealsGet current best deals and daily best prices for firearms1 paramsGet current best deals and daily best prices for firearms
limitnumberlist_categoriesList all firearm categories1 paramsList all firearm categories
limitnumberlist_calibersList all available caliber types1 paramsList all available caliber types
limitnumberlist_brandsList all firearm manufacturer brands1 paramsList all firearm manufacturer brands
limitnumberlist_vendorsList all firearm vendors and retailers1 paramsList all firearm vendors and retailers
limitnumberThe 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.
npm install gunsnation-mcp
Or use directly with npx:
npx gunsnation-mcp
GUNSNATION_API_KEY (required): Your Gunsnation API keyGUNSNATION_API_URL (optional): Custom API URL (defaults to https://api.gunsnation.com)Add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"gunsnation": {
"command": "npx",
"args": ["gunsnation-mcp"],
"env": {
"GUNSNATION_API_KEY": "your_api_key_here"
}
}
}
}
Search the Gunsnation firearms database.
Parameters:
query (optional): Search query for firearm name, brand, model, or UPCcategory (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 paginationExample:
Search for Glock handguns: { "query": "glock", "category": "Handguns", "limit": 10 }
Get detailed information about a specific firearm.
Parameters:
id (required): The ID of the firearm to retrieveExample:
Get firearm details: { "id": 12345 }
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
GUNSNATION_API_KEY=your_key npm run dev
MIT
GUNSNATION_API_KEY*secretGunsnation API key for accessing the firearms catalog