Trendspyg
Access real-time trending topics, keyword interest over time, related queries, and regional interest data directly from Google Trends.
Trendspyg is a modern, actively maintained Python library and CLI tool designed for retrieving comprehensive Google Trends data. It offers capabilities to fetch real-time trending topics via RSS and CSV, as well as perform in-depth keyword analysis, including interest over time, related queries, and regional interest. This tool serves as an alternative to the archived pytrends, providing multi-keyword comparison on a shared scale, async support for parallel fetching, built-in caching, and an MCP server to integrate Google Trends functionalities into AI agents like Claude.
Key Features
01Perform in-depth keyword analysis: interest over time, related queries, and interest by region
0233 GitHub stars
03Compare 2-5 keywords on a single, shared 0-100 interest scale
04Expose Google Trends tools to AI agents via an MCP server (Claude, Cursor)
05Retrieve real-time trending topics via RSS (fast) and CSV (comprehensive)
06Monitor real-time trend changes with a poll-safe `watch` function
Use Cases
01Monitor real-time shifts in popular search queries and emerging topics
02Conduct in-depth market research and SEO analysis for specific keywords and regions
03Integrate Google Trends data into AI agents and automated data pipelines for enhanced context