Access financial statements, including income, balance sheets, and cash flow, for companies listed on the Securities Exchange of Thailand (SET).
SET-MCP is a Python package that provides tools for serving Model Context Protocol which can access the Securities Exchange of Thailand (SET). It allows AI agents to retrieve comprehensive financial statements including income statements, balance sheets, and cash flow statements for listed companies.
The package requires Python 3.11 or higher. You can install it using pip:
pip install set-mcp
To install set-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install set-mcp --client claude
The package provides a command-line interface for easy access to financial data:
set-mcp --transport stdio
uvx
Run
uvx set-mcp
pipx
pipx install set-mcp
pipx run set-mcp
{
"mcpServers": {
"set_mcp": {
"command": "/path/to/bin/uvx", // Edit to your uvx path
"args": [
"set-mcp"
],
}
}
}
Coming soon
Available options:
--port
: Port to listen on for SSE (default: 8000)--host
: Host to listen on (default: 0.0.0.0)--transport
: Transport type (choices: stdio, sse, default: stdio)Note: SSE is not yet implemented
You can also use the package programmatically in your Python code:
from set_mcp import get_financial_statement
# Get financial statements for a specific company
result = await get_financial_statement(
symbol="PTT", # Company symbol
from_year=2023,
to_year=2024
)
git clone https://github.com/yourusername/set-mcp.git
cd set-mcp
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e ".[dev]"
python test_client.py
The output should be no error
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
MySQL database integration with configurable access controls and schema inspection
Read and write access to Airtable databases.
Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite
MCP server for autonomous data exploration on .csv-based datasets, providing intelligent insights with minimal effort.
Hydrolix time-series datalake integration providing schema exploration and query capabilities to LLM-based workflows.
A Go implementation of a Model Context Protocol (MCP) server for Trino, enabling LLM models to query distributed SQL databases through standardized tools.
Snowflake database integration with read/write capabilities and insight tracking
Access the OpenGenes database for aging and longevity research, with automatic updates from Hugging Face Hub.
Knowledge graph-based persistent memory system
Connects to Supabase platform for database, auth, edge functions and more.