Parses US gun and ammo listings, calculates round costs, and links to GunsNPrices comparison pages.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by GunsNPrices.
parse_product_titleTitle โ firearm or ammo, brand, model, calibers, magazine capacity, barrel length, rounds per box, cost per round, price comparison pages
identify_firearm_modelTitle or description โ brand, model family, exact model (50 brands); decodes Glock part numbers
lookup_caliber9mm Luger`, `300 BLK`, `12ga`, `6.5 CM` โ standard caliber name, type and its ammo price page
cost_per_roundPrice + round count (or a title to read it from) โ cost per round
find_price_comparison_pagesModel, brand or caliber โ GunsNPrices pages comparing current prices, most specific first
list_supportedThe 50 brands with model recognition, or the 293 known calibers
The GunsNPrices MCP server provides read-only tools for structuring firearm and ammunition shopping data. It can turn a product title into fields such as product type, brand, model, caliber, magazine capacity, barrel length, rounds per box, and cost per round. It can also identify firearm model families and exact models from titles or descriptions.
The server works with GunsNPrices comparison-page links for models, brands, and calibers. Those pages cover price comparisons across more than 40 US gun and ammunition stores. Results prioritize the most specific page available, such as a model page before a broader brand or search page.
This fits the E-Commerce category when an assistant needs to clean product data, compare ammunition unit costs, or route a user to a relevant GunsNPrices page. It is not a purchasing or transaction tool.
The server runs locally through the Model Context Protocol over stdio. Its parsing behavior comes from the open-source gunsnprices parser, while comparison URLs come from a snapshot of GunsNPrices page links. The tools operate offline and do not require an API key.
For firearm recognition, the parser supports 50 brands and can decode Glock part numbers. Caliber lookup covers 293 known calibers, including inputs such as 9mm Luger, 300 BLK, 12ga, and 6.5 CM. The cost calculation tool accepts a price and round count, or can derive the round count from a supplied product title.
The server does not fetch current prices. When a request asks where an item is cheapest, the GunsNPrices MCP server supplies comparison-page URLs for the assistant or user to open separately.
Node.js 18 or newer is required. Install and run the package with npx:
For Claude Code, register that command with claude mcp add gunsnprices -- npx -y gunsnprices-mcp. Claude Desktop and Cursor use an MCP configuration with command set to npx and arguments ['-y', 'gunsnprices-mcp']. VS Code uses the same command as a stdio server in .vscode/mcp.json.
A Claude Desktop MCP bundle is also available from the latest GitHub release. Alternatively, build the included Docker image and run it interactively with Docker. No environment variables or API credentials are documented as required.
parse_product_title extracts firearm or ammunition details and may include comparison-page links.identify_firearm_model recognizes model families and exact models from a title or description.lookup_caliber maps a caliber expression to a standard name, type, and ammunition price page.cost_per_round calculates unit ammunition cost from price and quantity.find_price_comparison_pages returns model, brand, or caliber comparison links in specificity order.list_supported lists the recognized firearm brands or known calibers.All tools are read-only and offline. The comparison URLs point to GunsNPrices pages but do not contain live price results from the stores. Recognition quality depends on the underlying parser and whether the input contains enough product information. The project reports recognition of the same model as GunsNPrices.com in 99.97% of applicable listings, with caliber identified in 97.8% of firearm titles and 94.9% of ammunition titles where a caliber is found.
The code uses the MIT License. Page-link data in src/data/ is under CC BY 4.0 and requires credit to GunsNPrices with a link when reused.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gunsnprices)<a href="https://allmcps.com/mcp/gunsnprices"><img src="https://allmcps.com/api/badge/gunsnprices?style=directory" alt="GunsNPrices on AllMCPs" /></a>