SkillAgentSearch skills...

trademark-mcp-server

Moved to sapientsai/mcp-servers (https://github.com/sapientsai/mcp-servers/tree/main/servers/trademark). This repo is archived.

Install / Use

claude mcp add jordanburke -- npx -y github:jordanburke/trademark-mcp-server

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

71/100

Supported Platforms

Claude Code
Claude Desktop

Our assessment of trademark-mcp-server

trademark-mcp-server scores 71/100 on our quality scale, 3867th of 4,722 Development & Engineering skills we index.

Its MCP Server is 7.7 KB long, well organised into 53 sections with 18 code examples: a thorough specification that gives an agent plenty to work with.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
3/20
Freshness
5/15

Maintenance, license and trust

  • The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 80/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

trademark-mcp-server compared with similar skills

All 4 of these similar skills score higher than trademark-mcp-server; compare them before choosing.

SkillScoreStarsUpdatedFormat
trademark-mcp-server (this skill)by jordanburke71315mo agoMCP Server
taste-skillby Leonxlnx100122.3k1d agoCLAUDE.md
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md

Frequently asked questions

How do I install trademark-mcp-server?
Run claude mcp add jordanburke -- npx -y github:jordanburke/trademark-mcp-server. The install tabs above show the steps for each supported agent.
Which AI agents does trademark-mcp-server work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is trademark-mcp-server safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is MIT-licensed and scores 80/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is trademark-mcp-server still maintained?
The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.

Trademark MCP Server

smithery badge

A Model Context Protocol (MCP) server that provides tools for searching and retrieving USPTO trademark information using the TSDR API.

Features

This MCP server provides the following tools:

  • trademark_search_by_serial: Search for trademark information using an 8-digit serial number
  • trademark_search_by_registration: Search for trademark information using a 7-8 digit registration number
  • trademark_status: Get comprehensive status information for a trademark (HTML format)
  • trademark_image: Retrieve trademark image URLs
  • trademark_documents: Get document bundle URLs for a trademark

Installation

Installing via Smithery

To install trademark-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @jordanburke/trademark-mcp-server --client claude

Manual Installation

pnpm install
pnpm build

⚠️ API Key Required

Important: The USPTO TSDR API requires an API key since October 2020. You must:

  1. Register at USPTO Developer Portal
  2. Get your API key from your account dashboard
  3. Set environment variable: USPTO_API_KEY=your_api_key_here

Without an API key, all requests will return 401 Unauthorized errors.

Usage

Using npx (Recommended)

You can run the server directly using npx without installing:

# Set your API key first
export USPTO_API_KEY=your_api_key_here

# Then run the server
npx trademark-mcp-server

This will start the MCP server in stdio mode, ready to receive MCP protocol messages.

As an MCP Server (stdio)

If you have the package installed locally:

pnpm start
# or directly
node dist/bin.js

Using the Shell Script

A convenience shell script is provided:

./start-mcp-server.sh

As an HTTP Server

# Set your API key first
export USPTO_API_KEY=your_api_key_here

# Start HTTP server (default port 3000)
pnpm serve
# or directly
node dist/server.js

# Or specify a custom port
PORT=8080 pnpm serve

The HTTP server provides:

  • Health check: http://localhost:3000/health
  • Server info: http://localhost:3000/
  • MCP endpoint: http://localhost:3001/mcp (FastMCP on port+1)

🐳 Docker Support

Quick Start with Docker

Run the trademark server as a Docker container:

# Pull and run from GitHub Container Registry
docker run -d \
  --name trademark-mcp-server \
  -p 3000:3000 \
  -e USPTO_API_KEY=your_api_key_here \
  ghcr.io/jordanburke/trademark-mcp-server:latest

Docker Compose

Create a docker-compose.yml file:

version: '3.8'
services:
  trademark-mcp-server:
    image: ghcr.io/jordanburke/trademark-mcp-server:latest
    ports:
      - "3000:3000"
    environment:
      - USPTO_API_KEY=your_api_key_here
    restart: unless-stopped
    healthcheck:
      test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
      interval: 30s
      timeout: 10s
      retries: 3

Then run:

docker-compose up -d

Building Docker Image Locally

# Build the image
docker build -t trademark-mcp-server .

# Run the container
docker run -d \
  --name trademark-mcp-server \
  -p 3000:3000 \
  -e USPTO_API_KEY=your_api_key_here \
  trademark-mcp-server

# View logs
docker logs trademark-mcp-server

# Health check
curl http://localhost:3000/health

Docker Image Details

  • Base Image: node:18-alpine (lightweight Linux distribution)
  • Multi-architecture: Supports both linux/amd64 and linux/arm64
  • Security: Runs as non-root user (trademark:nodejs)
  • Health Checks: Built-in health monitoring on /health
  • Production Ready: Optimized for production deployments

Development

# Set your API key first
export USPTO_API_KEY=your_api_key_here

# Run in development mode with file watching
pnpm serve:dev

# Run with MCP Inspector for debugging and testing
pnpm inspect
# or use the convenience script
./inspect-server.sh

# Run tests
pnpm test

# Lint and format
pnpm lint
pnpm format

Testing with MCP Inspector

The MCP Inspector provides a web-based interface for testing MCP servers:

# Start the inspector (opens browser at http://localhost:5173)
pnpm inspect

# Or use the standalone script
./inspect-server.sh

The inspector allows you to:

  • Test all tools interactively through a web UI
  • View server capabilities and available tools
  • Send requests and see responses in real-time
  • Debug issues with detailed logging
  • Validate MCP protocol compliance

API Endpoints Used

This server uses the USPTO TSDR (Trademark Status & Document Retrieval) API:

  • Base URL: https://tsdrapi.uspto.gov/ts/cd
  • Status Info (JSON): /casestatus/sn[SERIAL]/info.json or /casestatus/rn[REGISTRATION]/info.json
  • Status Info (HTML): /casestatus/sn[SERIAL]/content.html
  • Trademark Images: /rawImage/[SERIAL]
  • Document Bundles: /casedocs/bundle.pdf?sn=[SERIAL]

Getting an API Key

  1. Visit USPTO Developer Portal
  2. Create an account or log in
  3. Navigate to your account dashboard
  4. Generate a new API key for TSDR access
  5. Copy your API key for use with this server

For questions about API keys, contact: APIhelp@uspto.gov

Rate Limits

  • General API calls: 60 requests per minute per API key
  • PDF/ZIP downloads: 4 requests per minute per API key

Example Usage

You can test these examples using the MCP Inspector (pnpm inspect) or by calling the tools directly.

Search by Serial Number

// Example serial number: 78787878
{
  "name": "trademark_search_by_serial",
  "arguments": {
    "serialNumber": "78787878"
  }
}

Search by Registration Number

// Example registration number: 1234567
{
  "name": "trademark_search_by_registration", 
  "arguments": {
    "registrationNumber": "1234567"
  }
}

Get Trademark Image

{
  "name": "trademark_image",
  "arguments": {
    "serialNumber": "78787878"
  }
}

Test with Real Data

Try these working examples in the MCP Inspector:

  • Apple trademark: Serial number 78462704
  • Nike trademark: Serial number 72016902
  • Microsoft trademark: Serial number 78213220

Configuration for Claude Desktop

Using npx (Recommended)

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "trademark-mcp-server": {
      "command": "npx",
      "args": ["trademark-mcp-server"],
      "env": {
        "USPTO_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using Local Installation

If you have the package installed locally:

{
  "mcpServers": {
    "trademark-mcp-server": {
      "command": "node",
      "args": ["/path/to/trademark-mcp-server/dist/bin.js"],
      "env": {
        "USPTO_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using Shell Script

You can also use the provided shell script:

{
  "mcpServers": {
    "trademark-mcp-server": {
      "command": "/path/to/trademark-mcp-server/start-mcp-server.sh",
      "env": {
        "USPTO_API_KEY": "your_api_key_here"
      }
    }
  }
}

License

MIT

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting: pnpm test && pnpm lint
  5. Submit a pull request

API Reference

For more information about the USPTO TSDR API, visit:

Related Skills

View on GitHub
GitHub Stars3
CategoryDevelopment
Updated1y ago
Forks1

Languages

TypeScript

Trust signals

80/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium1 low