Skip to main content

MCP Server for stock and crypto

Project description

Add to Cursor Add to VS Code Add to Claude Add to ChatGPT Add to Codex Add to Gemini

📈 AkTools MCP Server

基于 akshare 的 MCP (Model Context Protocol) 服务器,提供股票、加密货币的数据查询和分析功能。

功能

  • 🔍 股票搜索: 根据股票名称、公司简称等关键词查找股票代码
  • ℹ️ 股票信息: 获取股票的详细信息,包括价格、市值等
  • 📊 市场概况: 获取A股市场的涨停板、龙虎榜、资金流向等
  • 💹 历史价格: 获取股票、加密货币历史价格数据,包含技术分析指标
  • 📰 相关新闻: 获取股票、加密货币相关的最新新闻资讯
  • 💸 财务指标: 支持A股和港美股的财务报告关键指标查询

安装

方式1: uvx

{
  "mcpServers": {
    "aktools": {
      "command": "uvx",
      "args": ["mcp-aktools"],
      "env": {
        # 全部可选
        "OKX_BASE_URL": "https://okx.4url.cn", # OKX地址,如果你的网络环境无法访问okx.com,可通过此选项配置反代地址
        "BINANCE_BASE_URL": "https://bian.4url.cn", # 币安地址,默认: https://www.binance.com
        "NEWSNOW_BASE_URL": "https://newsnow.busiyi.world", # Newsnow接口地址
        "NEWSNOW_CHANNELS": "wallstreetcn-quick,cls-telegraph,jin10", # Newsnow资讯来源
      }
    }
  }
}

方式2: Smithery

需要通过OAuth授权或Smithery key

{
  "mcpServers": {
    "aktools": {
      "url": "https://server.smithery.ai/@aahl/mcp-aktools/mcp" # Streamable HTTP
    }
  }
}

方式3: Docker

mkdir /opt/mcp-aktools
cd /opt/mcp-aktools
wget https://raw.githubusercontent.com/aahl/mcp-aktools/refs/heads/main/docker-compose.yml
docker-compose up -d
{
  "mcpServers": {
    "aktools": {
      "url": "http://0.0.0.0:8808/mcp" # Streamable HTTP
    }
  }
}

快速开始

  • 在线体验: fastmcp.cloud
  • 在线体验: smithery.ai
  • 添加到 Cursor Install MCP Server
  • 添加到 VS Code Install MCP Server
  • 添加到 Cherry Studio Install MCP Server
  • 添加到 Claude Code, 执行命令: claude mcp add aktools -- uvx mcp-aktools
  • 添加到 OpenAI CodeX, 执行命令: codex mcp add aktools -- uvx mcp-aktools

🛠️ 可用工具

个股相关
  • search - 查找股票代码,支持A股、港股、美股
  • stock_info - 获取股票信息
  • stock_prices - 获取股票历史价格
  • stock_indicators_a - A股关键指标
  • stock_indicators_hk - 港股关键指标
  • stock_indicators_us - 美股关键指标
  • trading_suggest - 给出投资建议
A股市场
  • get_current_time - 获取当前时间及A股交易日信息
  • stock_zt_pool_em - A股涨停股池
  • stock_zt_pool_strong_em - A股强势股池
  • stock_lhb_ggtj_sina - A股龙虎榜统计
  • stock_sector_fund_flow_rank - A股概念资金流向
财经资讯
  • stock_news - 获取个股/加密货币相关新闻
  • stock_news_global - 全球财经快讯
加密货币
  • okx_prices - 获取加密货币历史价格
  • okx_loan_ratios - 获取加密货币杠杆多空比
  • okx_taker_volume - 获取加密货币主动买卖情况
  • binance_ai_report - 获取加密货币AI分析报告

MseeP.ai Security Assessment Badge

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_aktools_fastmcp-0.1.15.tar.gz (171.8 kB view details)

Uploaded Source

Built Distribution

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

mcp_aktools_fastmcp-0.1.15-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file mcp_aktools_fastmcp-0.1.15.tar.gz.

File metadata

  • Download URL: mcp_aktools_fastmcp-0.1.15.tar.gz
  • Upload date:
  • Size: 171.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for mcp_aktools_fastmcp-0.1.15.tar.gz
Algorithm Hash digest
SHA256 2b9343b58d6c89a62d4dc6fbeda74628d6c3cd5afa0f049cfa17c4f7100196e8
MD5 f8f1eef3d00bfdebd1e147c428d58963
BLAKE2b-256 6c333ac685d1906c766c7e8ad7b06c3db691b32b2b249cc19b8ade498162f242

See more details on using hashes here.

File details

Details for the file mcp_aktools_fastmcp-0.1.15-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_aktools_fastmcp-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 473e8cd983c81767799498b3ddf837cd6dd70f34839babd6c6dae72c33085e1f
MD5 fff49abb49af35fd221ef147e256eb4f
BLAKE2b-256 f299482d2d9f15302319995b0b3fc97df6367580b20cb84d0b25ae0d187912e6

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