WebsiteCategorizationAPI
Home
Demo Tools - Categorization
Website Categorization Text Classification URL Database Taxonomy Mapper
Demo Tools - Website Intel
Technology Detector Quality Score Competitor Finder
Demo Tools - Brand Safety
Brand Safety Checker Brand Suitability Quality Checker
Demo Tools - Content
Sentiment Analyzer Context Aware Ads
MCP Servers
MCP Real-Time API MCP Database Lookup Database Lookup Setup Guide Real-Time API Setup Guide
Agentic Workflows
AI Agent Database 100 Use Cases Hedge Fund Workflows Banking Workflows Healthcare Workflows E-Commerce Workflows SaaS Workflows View All 47 Industries →
Domains By
Domains for your ICP Domains by Vertical Domains by Country Domains by Technologies
Resources
API Documentation Pricing Login
Try Categorization
MCP Server Setup Guide

Database Lookup MCP Server

Fast domain-level categorization lookups from 100M+ pre-classified domains. Connect your AI assistant to the world's largest website categorization database via the Model Context Protocol.

100M+ Classified Domains
<200ms Response Time
5 MCP Tools
14+ Data Fields

Prerequisites

1

Clone the Repository

Download the MCP server source code from GitHub

Terminal
git clone https://github.com/websitecategorization/mcp-database-lookup.git
cd mcp-database-lookup
2

Install Dependencies

Install the required Python packages

Terminal
pip install -r requirements.txt
This installs three packages: mcp (Model Context Protocol SDK), httpx (async HTTP client), and python-dotenv (environment variable loader).
3

Set Your API Key

Create a .env file with your API credentials

Copy the example environment file and add your API key:

Terminal
cp .env.example .env

Then edit the .env file:

.env
# Required: Your API key from websitecategorizationapi.com
WCA_API_KEY=your-api-key-here

# Optional: Override the database API endpoint
# WCA_DB_ENDPOINT=https://websitecategorizationapi.com/mcp/v1
You can find your API key on your Profile page after signing up. Keep your API key private and never commit it to version control.
4

Configure Your MCP Client

Add the server to your preferred AI coding assistant

Open your Claude Desktop configuration file and add the server:

macOS:  ~/Library/Application Support/Claude/claude_desktop_config.json

Windows:  %APPDATA%\Claude\claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "website-categorization-database": {
      "command": "python",
      "args": ["/full/path/to/mcp-database-lookup/wca_mcp_database.py"],
      "env": {
        "WCA_API_KEY": "your-api-key-here"
      }
    }
  }
}
Replace /full/path/to/mcp-database-lookup/ with the actual absolute path where you cloned the repository. Restart Claude Desktop after saving.

Run this command in your terminal to add the MCP server to Claude Code:

Terminal
claude mcp add website-categorization-database \
  python /full/path/to/mcp-database-lookup/wca_mcp_database.py \
  -e WCA_API_KEY=your-api-key-here
Replace /full/path/to/mcp-database-lookup/ with the actual absolute path where you cloned the repository.

Open Cursor Settings and navigate to MCP. Click "Add new global MCP server" and paste the following configuration:

MCP Configuration
{
  "mcpServers": {
    "website-categorization-database": {
      "command": "python",
      "args": ["/full/path/to/mcp-database-lookup/wca_mcp_database.py"],
      "env": {
        "WCA_API_KEY": "your-api-key-here"
      }
    }
  }
}
In Cursor, go to Settings → MCP and click "Add new global MCP server". Then paste the JSON above. Replace the path and API key with your actual values.
5

Test It

Try these example prompts in your MCP client

"What category is stripe.com in?"
"Look up github.com, gitlab.com, bitbucket.org"
"Find technology domains from Germany"
"Show me the database statistics"
"How many API credits do I have left?"
"Categorize the top 10 news websites"

Available Tools

Five purpose-built MCP tools for domain categorization and database exploration

lookup_domain

Look up a single domain and get its full categorization profile including IAB taxonomy, web filtering category, personas, and more.

Example: lookup_domain("stripe.com")

bulk_lookup

Look up multiple domains at once. Accepts comma-separated, space-separated, or one per line. Up to 100 domains per request.

Each domain = 1 API credit

search_domains

Search the database by category and/or country code. Returns matching domains with full categorization data. Max 100 results.

Filter by category, country, or both

database_stats

Get high-level statistics about the database: total domains covered, category distribution, country breakdown, and more.

No credits consumed

check_credits

Check your remaining API credits and usage for the current billing month. Monitor your consumption in real time.

No credits consumed

Data Fields Returned

Every domain lookup returns these rich categorization fields

Field Description Example
Domain The queried domain name stripe.com
IAB v2 Tier 1-4 IAB Content Taxonomy v2 classification, up to 4 tiers of depth Technology & Computing → Computing → ...
IAB v3 Tier 1-4 IAB Content Taxonomy v3 classification, up to 4 tiers of depth Technology & Computing → Computing → ...
Web Filtering Category Content filtering classification for brand safety and parental controls Business / Finance
Personas Target audience / buyer persona associated with the domain Software Developer, SaaS Buyer
OpenPageRank Domain authority score from OpenPageRank 7.82
Country Primary country associated with the domain US
global_popularity_rank_group Global traffic/popularity rank group for the domain Top 1K
country_level_popularity_rank_group Country-level traffic/popularity rank group Top 500

Database vs Real-Time

Choose the right MCP server for your use case

Feature Database Lookup Real-Time API
Speed Instant (<200ms) 1-3 seconds (live crawl)
Coverage 100M+ pre-classified domains Any URL on the internet
Subpage Support Domain-level only Full URL paths
Bulk Lookups Up to 100 domains One URL at a time
Search & Filter By category & country Not available
Data Freshness Periodically updated Real-time (live analysis)
Taxonomies IAB v2 & v3, Web Filtering, Personas IAB v2 & v3, Web Filtering, Personas + more
Best For Bulk classification, domain screening, enrichment URL-level analysis, fresh content

Need Help?

Our team is here to help you get set up. Reach out through any of these channels for assistance with your MCP server configuration.

Secure API Communication
100M+ Domains Covered
Enterprise Support
Regular Data Updates