Query Table
A financial data crawler tool based on Playwright, supporting multi - website queries and the MCP protocol, providing table data crawling and large language model calling functions.
rating : 2 points
downloads : 5.5K
What is MCP Query Table?
MCP Query Table is a financial data query tool that can automatically obtain table data from multiple financial websites and support interaction with large language models. It uses browser automation technology to simulate user operations without dealing with complex API requests and response parsing.How to use MCP Query Table?
After installation, call the query function through a Python script, specifying query conditions, data source types, and return result formats. The tool will automatically open the browser, execute the query, and return structured data.Applicable scenarios
It is suitable for scenarios that require regular acquisition of financial data, such as financial data analysis, investment research, and automated report generation. When a certain data source is unavailable, it can quickly switch to other backup data sources.Main features
Multi - data source support
Supports multiple financial data sources such as Flush Wencai, TDX Wenxiaoda, and Eastmoney Conditional Stock Selection
AI interaction function
Supports interaction with large language models such as Nano Search, Tencent Yuanbao, and Baidu AI Search
Data format conversion
Query results can be directly converted into formats such as Markdown and CSV
MCP protocol support
Supports the Model Context Protocol and can be integrated into AI workflows
Advantages
High development efficiency without dealing with complex request construction and response parsing
What you see is what you get, directly obtaining the table data displayed on the web page
Flexible data source switching to avoid the problem of a single data source being unavailable
Supports headless mode to improve running speed
Limitations
Slower running speed than direct API calls
Requires maintenance of browser automation scripts, and website redesign may cause it to fail
Some websites require pre - login to use all functions
The return result formats of different data sources may be inconsistent
How to use
Install the tool
Install the mcp_query_table package using pip
Start the browser instance
Ensure that the Chrome browser is installed and running, or configure the headless mode
Execute the query
Call the query function to specify query conditions and data sources
Process the results
Convert the returned DataFrame to the required format
Usage examples
Query ETF data
Query the top 200 ETFs with the best returns from Flush
Query fund yields
Query the top 50 funds with the highest yields from the beginning of the year to the present from TDX
AI Q&A
Perform simple mathematical calculations using Tencent Yuanbao
Frequently Asked Questions
Why is the Chrome browser required?
How to solve the problem of website login requirements?
Why are the query results of different data sources inconsistent?
How to configure the headless mode?
Related resources
Playwright official documentation
Documentation for the browser automation framework
MCP protocol description
Model Context Protocol project
Example code repository
Tool source code and examples

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.6K
4.3 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
16.9K
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
26.5K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
51.7K
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
22.0K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
50.6K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.6K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
33.5K
4.8 points

