npm gunsnation-mcpstdioupdated 5mo ago
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.
What can you do with gunsnation?
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
npm install gunsnation-mcp
Or use directly with npx:
npx gunsnation-mcp
Configuration
Environment Variables
GUNSNATION_API_KEY(required): Your Gunsnation API keyGUNSNATION_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):
{
"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 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 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
- Create an account at gunsnation.com
- Go to Settings
- Click "Generate API Key" in the API Key section
- Copy your API key and keep it secure
Rate Limits
- 60 requests per minute per API key
Development
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
GUNSNATION_API_KEY=your_key npm run dev
License
MIT
Install
Add gunsnation to your client. Pick the one you use.
claude mcp add gunsnation-mcp -- npx -y gunsnation-mcpcodex mcp add gunsnation-mcp -- npx -y gunsnation-mcpamp mcp add gunsnation-mcp -- npx -y gunsnation-mcp{
"mcpServers": {
"gunsnation-mcp": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"gunsnation-mcp": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"gunsnation-mcp","command":"npx","args":["-y","gunsnation-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"gunsnation-mcp": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"gunsnation-mcp": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"gunsnation-mcp": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"gunsnation-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"gunsnation-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"gunsnation-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"gunsnation-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y gunsnation-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation22/25
- Maintenance13/25
- Trust9/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 161 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 1.0.0Latest | Mar 23, 2026 |