Tennis Warehouse MCP Server

Tennis Warehouse MCP Server

Provides secure access to Tennis Warehouse product data, enabling users to search for tennis equipment (racquets, bags, shoes), check product availability, find deals, and browse categories through natural language queries while protecting internal API details.

Category
Visit Server

README

Tennis Warehouse MCP Server

๐ŸŽพ Secure MCP wrapper for Tennis Warehouse's internal APIs

This MCP server provides LLMs with safe, business-friendly access to Tennis Warehouse product data through their internal Solr search API.

๐Ÿ›ก๏ธ Security Benefits

  • API Gateway: Protects internal Tennis Warehouse APIs from direct LLM access
  • Data Filtering: Only exposes customer-relevant product information
  • Input Validation: Sanitizes and validates all search parameters
  • Rate Limiting: Controls API usage and prevents abuse
  • Error Handling: Clean error messages instead of internal stack traces

๐Ÿ”ง Installation

  1. Create virtual environment:

    cd tennis-warehouse-mcp
    python3 -m venv .venv
    source .venv/bin/activate
    
  2. Install dependencies:

    pip install "mcp[cli]" httpx requests pydantic
    
  3. Configure Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

    {
      "mcpServers": {
        "tennis-warehouse": {
          "command": "/path/to/tennis-warehouse-mcp/.venv/bin/python3",
          "args": ["/path/to/tennis-warehouse-mcp/main.py"],
          "env": {
            "TW_API_TIMEOUT": "10",
            "TW_MAX_RESULTS": "20"
          }
        }
      }
    }
    
  4. Restart Claude Desktop to load the new MCP server

๐ŸŽฏ Available Tools

search_tennis_products(query, category, max_results)

Search Tennis Warehouse products with intelligent filtering.

Example:

๐Ÿค– "Find Wilson racquets under $200"

search_tennis_bags(style, brand, max_results)

Search specifically for tennis bags with advanced filtering.

Example:

๐Ÿค– "Show me Head backpack tennis bags"

search_tennis_racquets(brand, weight_range, max_results)

Search for tennis racquets with brand and weight filtering.

Example:

๐Ÿค– "Find Babolat lightweight racquets"

search_tennis_shoes(gender, brand, court_type, max_results)

Search for tennis shoes with gender, brand, and court type filtering.

Example:

๐Ÿค– "Find Nike men's hard court tennis shoes"

get_product_categories()

Get all available product categories with product counts.

check_product_availability(product_name)

Check if a specific product is in stock.

Example:

๐Ÿค– "Is the Wilson Pro Staff 97 available?"

get_tennis_deals(category, max_results)

Find current deals and discounted tennis products.

Example:

๐Ÿค– "Show me current racquet deals"

๐Ÿ“Š What LLMs Get vs. Internal API

LLM Gets (Safe) Internal API Has (Protected)
โœ… Product name, brand, price โŒ Internal product IDs
โœ… Availability status โŒ Exact inventory counts
โœ… Public product URLs โŒ Supplier costs
โœ… Category information โŒ Restock schedules
โœ… Clean error messages โŒ Database stack traces

๐Ÿ” Example Tennis Warehouse API Mapping

Internal Solr API:

https://static.tennis-warehouse.com/solr/solr_query.php?search=products&facet_set%5B%5D=facet_set_BAGFILTER&filter_cat=SHOULDBAGS

MCP Tool:

search_tennis_bags(style="backpack", brand="Wilson")

LLM Result:

[
  {
    "name": "Wilson Pro Staff Backpack",
    "brand": "Wilson", 
    "price": "$89.99",
    "availability": "Available",
    "product_url": "https://www.tennis-warehouse.com/..."
  }
]

โš™๏ธ Configuration

Environment variables can be set in Claude Desktop config:

  • TW_API_TIMEOUT: API timeout in seconds (default: 10)
  • TW_MAX_RESULTS: Maximum results per query (default: 20)

๐Ÿงช Testing

Test the API client:

source .venv/bin/activate
python3 -c "
from tennis_warehouse_api import TennisWarehouseAPI
api = TennisWarehouseAPI()
print('โœ… Tennis Warehouse API client working!')
"

๐Ÿ—๏ธ Architecture

๐Ÿค– LLM (Claude)
    โ†“ (MCP Protocol)
๐Ÿ›ก๏ธ Tennis Warehouse MCP Server
    โ†“ (HTTP/JSON)
๐Ÿ”’ Tennis Warehouse Internal Solr API
    โ†“
๐Ÿ“Š Product Database

๐ŸŽพ LLM Usage Examples

Once configured, LLMs can use natural language to search Tennis Warehouse:

  • "Find me Wilson tennis bags under $100"
  • "What Nike tennis shoes are available for women?"
  • "Show me current deals on Babolat racquets"
  • "Is the Head Speed MP racquet in stock?"
  • "Find lightweight tennis racquets for beginners"

The MCP server handles all the complexity of mapping these requests to the internal Solr API while keeping sensitive data protected! ๐ŸŽพโœจ

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured