AI看线 MCP server for A-share stock technical analysis and AI prediction

AI看线 MCP server for A-share stock technical analysis and AI prediction

ai-kline•byquantml-github

An A-share stock analysis tool that combines traditional technical analysis with AI prediction, and provides an MCP SERVER for analyzing stocks through LLM interaction.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Fetches A-share historical price and volume data, financial data, and news via AKShare.
  • •Computes technical indicators including MA, MACD, KDJ, RSI, and Bollinger Bands.
  • •Generates static and interactive K-line charts with technical indicator visualizations.
  • •Uses multimodal AI through an OpenAI-compatible API to analyze integrated data and predict stock trends.

BEST FOR

  • •Analyzing A-share stocks by inputting a stock code and selecting an analysis period through a web interface.
  • •Interacting with an LLM through an MCP client to analyze stocks on demand.

ABOUT AI-KLINE

AI看线 MCP server for A-share stock technical analysis and AI prediction is cataloged as an MCP server attributed to quantml-github. An A-share stock analysis tool that combines traditional technical analysis with AI prediction, and provides an MCP SERVER for analyzing stocks through LLM interaction. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for AI看线 MCP server for A-share stock technical analysis and AI prediction are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does the MCP SERVER allow users to do?

It supports interaction through an LLM so users can analyze stocks at any time.

What analysis periods can be selected?

Available periods are 1 year, 6 months, 3 months, and 1 month, with 1 year as the default.

What output does the tool generate?

It produces K-line and technical indicator charts as static PNG images and interactive HTML charts, plus an AI analysis result text file.

上游原版 README

在 GitHub 查看同一版本原文

README.md · fa914ca1d41f · 采集于 2026-11-13 09:36:25 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

AI看线 - 股票技术分析与AI预测工具(AI-Kline - Stock Technical Analysis and AI Prediction Tool)

项目简介

AI看线是一个基于Python的A股分析工具,结合了传统技术分析和人工智能预测功能。利用K线图,技术指标,财务数据,新闻数据对股票进行全面分析及预测。该工具可以:

  1. 获取A股股票的历史量价数据并计算各种技术指标
  2. 生成专业的K线图和技术指标可视化图表
  3. 获取股票相关的财务数据和新闻信息
  4. 使用openai api分析整合数据并预测股票未来走势

功能特点

  • 数据获取:使用AKShare获取A股股票的历史交易数据、财务数据和新闻信息
  • 技术分析:计算多种技术指标,包括MA、MACD、KDJ、RSI、布林带等
  • 可视化:生成静态和交互式K线图及技术指标图表
  • AI分析:利用多模态AI分析股票数据并预测未来走势
  • Web界面:提供简洁美观的Web界面,方便用户输入股票代码查看分析结果
  • MCP SERVER:提供MCP SERVER支持,支持通过LLM交互,随时分析股票

安装说明

环境要求

  • Python 3.8+
  • 依赖包:见requirements.txt

安装步骤

  1. 克隆或下载本项目到本地

  2. 安装依赖包

pip install -r requirements.txt
  1. 创建.env文件,添加API密钥
API_KEY=your_api_key_here
BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
MODEL_NAME=qwen-vl-max

注意:需使用多模态模型

使用方法

命令行使用

python main.py --stock_code 000001 --period 1年 --save_path ./output

参数说明:

  • --stock_code:股票代码,必填参数
  • --period:分析周期,可选值:"1年"、"6个月"、"3个月"、"1个月",默认为"1年"
  • --save_path:结果保存路径,默认为"./output"

Web界面使用

启动Web服务:

python web_app.py

然后在浏览器中访问 http://localhost:5000 即可使用Web界面:

  1. 在表单中输入股票代码(例如:000001)
  2. 选择分析周期
  3. 点击"开始分析"按钮
  4. 等待分析完成后查看结果

Web界面包括以下内容:

  • 股票基本信息
  • K线图和技术指标图表
  • AI分析结果文本

页面截图:

Web界面截图

MCP SERVER使用

启动mcp:

uv run  mcp_server.py

然后在mcp客户端中配置(streamable-http): http://localhost:8000/mcp

Cherry-Studio页面截图:

MCP界面截图 MCP界面截图

输出结果

程序运行后将在指定的保存路径下生成:

  1. K线图和技术指标图表(静态PNG图片和交互式HTML图表)
  2. AI分析结果文本文件

项目结构

AI看线/
├── main.py                 # 主程序入口
├── web_app.py              # Web应用入口
├── requirements.txt        # 依赖包列表
├── .env                    # 环境变量配置(需自行创建)
├── modules/                # 功能模块
│   ├── __init__.py
│   ├── data_fetcher.py     # 数据获取模块
│   ├── technical_analyzer.py # 技术分析模块
│   ├── visualizer.py       # 可视化模块
│   └── ai_analyzer.py      # AI分析模块
├── templates/              # Web模板目录
│   └── index.html          # 主页模板
├── static/                 # 静态资源目录
│   ├── css/                # CSS样式
│   │   └── style.css       # 自定义样式
│   └── js/                 # JavaScript脚本
│       └── main.js         # 主要脚本
└── output/                 # 输出结果目录(运行时自动创建)
    ├── charts/             # 图表目录
    └── *_analysis_result.txt # 分析结果文件

交流学习

加群

注意事项

  • 本工具仅供学习和研究使用,不构成任何投资建议
  • AI分析结果基于历史数据和当前信息,不能保证未来走势的准确性
  • 使用前请确保已正确配置Gemini API密钥
  • 股票数据获取依赖于AKShare库,可能受到网络和数据源的限制
  • 本项目为QuantML开源项目,转载或使用需注明出处,商业使用请联系微信号QuantML

免责声明

本工具提供的分析和预测仅供参考,不构成任何投资建议。投资有风险,入市需谨慎。用户应对自己的投资决策负责。

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for AI看线 MCP server for A-share stock technical analysis and AI prediction from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ai-kline)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics