Skip to main content

CLI + MCP server for dev.to, Google, Reddit, YouTube, Trends, News, Hacker News, and SearchAPI research

Project description

Research Tools

CLI toolkit + MCP server za dev.to, Google/Serper, Reddit, YouTube, Trends, News, Hacker News i SearchAPI.io research. Globalni alias rt.

Quick Start

# Help
rt --help

# Dev.to research
rt devto trending -t typescript
rt devto tags -t typescript,javascript
rt devto authors -t typescript --limit 10

# Google/Serper research
rt google keywords -q "typescript tips"
rt google paa -q "how to learn typescript"
rt google serp -q "claude code tutorial"
rt google related -q "ai development"
rt google keywords -q "test" --no-cache

# Google Trends research
rt trends interest -q "typescript" --geo us --time "today 12-m"
rt trends related -q "typescript"
rt trends topics -q "typescript"
rt trends geo -q "typescript"
rt t interest -q "python,javascript" --geo us  # compare

# Google News research
rt news search -q "typescript" --period week
rt news search -q "site:techcrunch.com AI" --period month --sort most_recent
rt n search -q "claude anthropic" --gl us

# Reddit research
rt reddit -s typescript
rt reddit -s typescript,webdev --sort top --period month

# Hacker News research
rt hn top
rt hn new --limit 50
rt hn best
rt hn ask
rt hn show
rt hn search -q "typescript"
rt hn search -q "claude api" --limit 20 --json

# YouTube research
rt youtube search -q "typescript tutorial"
rt yt channel -c "Fireship" --limit 10
rt yt trending --category music --region us

# Competitor research (SearchAPI.io)
rt competitor serp -q "project management software"
rt competitor ads -q "crm software"
rt c serp -q "keyword" --no-cache

# Ads Transparency (all ads for an advertiser)
rt transparency ads -d tesla.com
rt transparency ads -d openai.com --region us --platform youtube
rt at ads -d anthropic.com --format video --period last_90_days

# Google AI Mode (AI-generated responses)
rt ai search -q "best typescript error handling practices"
rt ai search -q "how to optimize react performance" --location "San Francisco"

# Rank Tracking (SEO position monitoring)
rt rank track -q "typescript tutorial"
rt rank track -q "react hooks" --device mobile --location "New York" -n 50
rt r track -q "claude code" --gl us

# LLM Citation Tracking (Perplexity, Google AI Mode)
rt llm track -q "best typescript framework"
rt llm track -q "typescript orm" --engines perplexity,google_ai
rt l track -q "test" --no-cache

# Brand visibility in LLM responses
rt llm brand -d prisma.io --keywords "typescript orm,node database"
rt l brand -d anthropic.com -k "ai api,llm sdk"

# Compare domain vs competitor in LLM citations
rt llm compare -d prisma.io -c typeorm.io --keywords "typescript orm,node database"
rt l compare -d vercel.com -c netlify.com -k "deploy react,hosting"

# Cache management
rt cache stats
rt cache clear
rt cache cleanup

MCP Server

# Run MCP server
rt-mcp

# Or via uvx (install from PyPI)
uvx mcp-cli-research-tools

MCP Tools

  • devto_trending - Trending posts from dev.to
  • devto_tags - Tag engagement analysis
  • devto_authors - Top authors by engagement
  • google_keywords - Autocomplete suggestions
  • google_serp - SERP analysis
  • google_paa - People Also Ask
  • google_related - Related searches
  • google_trends - Google Trends (interest, related, topics, geo)
  • google_news - Google News search
  • google_ads_transparency - All ads for an advertiser
  • google_ai_mode - AI-generated responses with references
  • google_rank_tracking - SEO position monitoring (up to 100 results)
  • reddit_posts - Subreddit monitoring
  • hn_top_stories - Top stories from Hacker News
  • hn_new_stories - Newest stories
  • hn_best_stories - Best stories
  • hn_ask_stories - Ask HN posts
  • hn_show_stories - Show HN posts
  • hn_search - Search HN via Algolia
  • youtube_search - Video search
  • youtube_channel - Channel videos
  • youtube_trending - Trending videos
  • searchapi_serp - SERP with AI Overview and ads
  • searchapi_ads - Competitor ads analysis
  • llm_track - Track citations across LLM engines
  • llm_brand - Brand visibility in LLM responses
  • llm_compare - Compare domain vs competitor in LLM citations

Setup

cd C:\ai-projects\research-tools && uv sync

Credentials (.env)

DEVTO_API_KEY=xxx       # https://dev.to/settings/extensions
SERPER_API_KEY=xxx      # https://serper.dev/api-key
SEARCH_API_IO_KEY=xxx   # https://www.searchapi.io/api-key
PERPLEXITY_API_KEY=xxx  # https://www.perplexity.ai/settings/api
OPENAI_API_KEY=xxx      # Optional - for ChatGPT (expensive)

Cache

SQLite baza (~/.research-tools/data.db). TTL: Serper 48h, Reddit 12h, YouTube 24h, Trends 24h, News 12h, HN 12h, SearchAPI 48h, Ads Transparency 24h, AI Mode 12h, Rank Tracking 24h, LLM Tracking 12h.

Struktura

src/research_tools/
├── cli/           # Cyclopts CLI
├── clients/       # API clients (Serper, SearchAPI, Perplexity, OpenAI, HN)
├── db/            # SQLite + CacheRepository
├── mcp/           # FastMCP server
├── models/        # Pydantic models
├── services/      # Service layer (business logic)
└── output.py      # Rich rendering

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_cli_research_tools-0.2.0.tar.gz (141.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_cli_research_tools-0.2.0-py3-none-any.whl (80.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_cli_research_tools-0.2.0.tar.gz.

File metadata

File hashes

Hashes for mcp_cli_research_tools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8aaf00d2e613cc1f588b37f467c23de188134496bf843865ad8f1f916643b7d8
MD5 aa1c78520ac28525f61e620d9f00f3da
BLAKE2b-256 17a64c6e1f8094b6459a541f30c3f60fea8576ac842c0d46946461854022227c

See more details on using hashes here.

File details

Details for the file mcp_cli_research_tools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_cli_research_tools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd4920fd5c50c099a27f098fa7310926840ce32ebb34c6f9bc7e505090c974b6
MD5 6a5d4aa7b88ea454ddf29bc26a18251e
BLAKE2b-256 81f8ae378ec9c9e3db7a15237247e17c1d2d260a55db1f43e5ce7c3eb4452cfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page