io.github.DynamicDeals/gunsnation
MCP server for real-time access to the Gunsnation firearms catalog and specifications.
ماذا يمكنك أن تفعل مع io.github.DynamicDeals/gunsnation؟
- 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
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
gunsnation-mcpclaude mcp add gunsnation -e 'GUNSNATION_API_KEY=<your gunsnation_api_key>' -- npx -y gunsnation-mcp@1.0.0
{
"mcpServers": {
"gunsnation": {
"command": "npx",
"args": [
"-y",
"gunsnation-mcp@1.0.0"
],
"env": {
"GUNSNATION_API_KEY": "<your gunsnation_api_key>"
}
}
}
}
متغيرات البيئة
GUNSNATION_API_KEYإلزامي سري Gunsnation API key for accessing the firearms catalog
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
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
الأسئلة الشائعة
ما هو io.github.DynamicDeals/gunsnation؟
MCP server for real-time access to the Gunsnation firearms catalog and specifications.
كيف أثبّت io.github.DynamicDeals/gunsnation؟
يعمل على جهازك. في Claude Code: claude mcp add gunsnation -e 'GUNSNATION_API_KEY=<your gunsnation_api_key>' -- npx -y gunsnation-mcp@1.0.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.DynamicDeals/gunsnation إلى مفتاح API؟
نعم. يتطلب GUNSNATION_API_KEY، وتضبطها في إعداداته.
هل io.github.DynamicDeals/gunsnation مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.DynamicDeals/gunsnation؟
ينشره DynamicDeals. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.