- Home
- MCP servers
- Pornhub
Pornhub
- python
0
GitHub Stars
python
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"talhelf-ph-mcp": {
"command": "/Users/talhelfgott/Desktop/api/.venv/bin/python",
"args": [
"/Users/talhelfgott/Desktop/api/server.py"
]
}
}
}You can run a dedicated MCP server that exposes Google Trends-based statistics for performers, platforms, categories, and regional trends in real time. This server integrates with an MCP client to provide dynamic queries, analyses, and historical insights without relying on cached data, making it useful for market research, trend analysis, and educational exploration of online entertainment statistics.
How to use
Connect to the MCP server from an MCP client to access Google Trends based tools. You can perform comparisons, analyze trends over time, and drill into regional data. Practical usage patterns include comparing search interest between performers, evaluating platform popularity across regions, and analyzing category trends over multi-year periods. You can also query for rising and related searches to surface breakout terms.
How to install
Prerequisites you need before installation are Python 3.10 or higher and the uv package manager (recommended) or pip.
curl -LsSf https://astral.sh/uv/install.sh | sh
Create a Python virtual environment and install dependencies for the MCP server.
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .
Run the server directly for testing.
uv run server.py
Configure Claude Desktop to connect to the MCP server. Open your Claude Desktop configuration and add a server entry using one of the two methods shown below.
Method A uses the virtual environment directly (recommended). Create a configuration block that points to your Python executable inside your virtual environment and the server script.
{
"mcpServers": {
"pornhub-mcp": {
"command": "/Users/talhelfgott/Desktop/api/.venv/bin/python",
"args": [
"/Users/talhelfgott/Desktop/api/server.py"
]
}
}
}
Method B uses uv to run the server from the project directory.
{
"mcpServers": {
"pornhub-mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/Users/talhelfgott/Desktop/api",
"--no-project",
"python",
"server.py"
]
}
}
}
After adding the configuration, restart Claude Desktop to connect to the MCP server.
Additional notes
Standalone testing allows you to verify that the server starts correctly. Use the provided commands to run the server and ensure it is responsive before attempting client queries.
If you want to explore more, you can use Claude Desktop to run queries such as performer comparisons, platform trend analyses, category trend comparisons, and regional searches to gather insights directly from the Google Trends data.
Data sources and capabilities
This MCP server relies on the Google Trends API (pytrends) for all data. It provides real-time access to search interest, regional breakdowns, related queries, and rising terms without relying on cached data.
The server supports queries across performers, platforms, categories, and date ranges, with options to compare up to five terms at once and analyze regional distributions worldwide, by country, or by US state.
Security and ethics
All data is aggregated and sourced from public statistics. The server is intended for market research, analytics, and educational purposes, with no access to personal data or explicit content.
Available tools
search_trends
Analyze keywords with full statistics including interest over time, regional breakdowns, and related queries.
compare_performers
Compare search interest between performers with side-by-side trends and regional popularity.
compare_platforms
Compare platform popularity and market share trends across regions.
analyze_category_trends
Analyze trends for content categories with directional trends and regional variations.
historical_analysis
Perform multi-year trend analysis (2004+), identifying peak periods and growth patterns.
trending_searches
Find related and rising searches and identify breakout terms.