TickTest MCP Server

TickTest MCP Server

Enables AI agents to perform A-share quantitative backtesting by calling TickTest API through MCP protocol.

Category
Visit Server

README

TickTest MCP Server

让 AI Agent(Claude Code、Cursor、Windsurf 等)通过 MCP 协议直接调用 TickTest A 股量化回测 API。

安装

pip install ticktest-mcp

配置

Claude Code

.claude/mcp.json 或项目根目录 .mcp.json 中添加:

{
  "mcpServers": {
    "ticktest": {
      "command": "python",
      "args": ["-m", "ticktest_mcp"],
      "env": {
        "TICKTEST_API_URL": "https://api.ticktest.cn",
        "TICKTEST_API_KEY": "tt_your_api_key_here"
      }
    }
  }
}

Cursor / Windsurf

在 MCP 配置中添加:

{
  "mcpServers": {
    "ticktest": {
      "command": "ticktest-mcp",
      "env": {
        "TICKTEST_API_URL": "https://api.ticktest.cn",
        "TICKTEST_API_KEY": "tt_your_api_key_here"
      }
    }
  }
}

获取 API Key

无需离开对话,Agent 会帮你完成注册:

  1. Agent 询问你的邮箱
  2. Agent 调用 send-code → 你收到 6 位验证码
  3. 告诉 Agent 验证码 → 注册成功,拿到 API Key + 500 信用点
  4. Agent 配置 Key,开始回测

Tools

Tool 认证 说明
get_capabilities 公开 获取策略、因子、定价、注册流程
health_check 公开 检查 API 服务状态
search_symbols 公开 搜索 A 股股票代码
validate_strategy 需 Key 免费验证策略参数
run_backtest 需 Key 运行回测,¥0.50/次
create_payment 需 Key 生成支付页面

快速体验

海龟交易策略永久免费,无需付费:

Agent: 帮我回测中际旭创,海龟交易
→ 自动搜索 sz300308 → 回测 → 返回收益率/夏普/回撤/胜率

定价

  • 单次回测:¥0.50(25 信用点)
  • 入门月卡:¥29(2500 点 ≈ 100 次)
  • 注册送 500 信用点(≈ 20 次)
  • 海龟交易:永久免费

环境变量

变量 必填 说明
TICKTEST_API_URL API 地址,默认 https://api.ticktest.cn
TICKTEST_API_KEY API Key,不配则只能调公开 Tool
TICKTEST_BACKTEST_TIMEOUT 回测超时秒数,默认 90

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured