Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Stock MCP server

by huweihua123/stock-mcpNo licenceAudited 6 Oct 2026 · source 689bb7888439

PyPI stock-mcpstreamable-http★ 178
✕BLOCKGrade D · 69/100 · 6 Oct 2026 · 689bb78

Is it safe? No — BLOCK, grade D (69/100). It exposes 23 tools: 23 read, 0 write and 0 destructive. The audit recorded 9 findings (0 critical, 2 high, 1 medium, 6 low). Maintainer's description: 专业的金融市场数据 MCP 服务器 - 支持A股/美股/加密货币,原生 MCP 协议,AI Agent 友好

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Stock MCP server (huweihua123/stock-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/huweihua123/stock-3

Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Hard-coded secrets at src/server/config/settings.py:121. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score69/100✕BLOCK D
0 critical2 high1 medium6 low0 info

9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesPinnedNothing floats
  • SecretsFoundSee the findings

Findings (9)

Sorted by severity

HIGHHard-coded secretssecret.db_uri · src/server/config/settings.py:121
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHHard-coded secretssecret.db_uri · src/server/infrastructure/connections/postgres_connection.py:28
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMInformation disclosuredisclose.log_secret · src/server/infrastructure/connections/redis_connection.py:27
F-12 Information disclosureCWE-209 · CWE-532Layer L1
logger.info(f"🔍 Redis config: host={host}, port={port}, db={db}, has_password={bool(password)}")
Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.no_license
F-13 Inventory / provenanceCWE-1104Layer L0
Why
no LICENSE file and no repo licence
Fix
add a licence
LOWNetwork egressnet.raw_ip · README.md:40
F-04 Network egressCWE-200 · CWE-319Layer L1
- `http://127.0.0.1:9898/health`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:41
F-04 Network egressCWE-200 · CWE-319Layer L1
- `http://127.0.0.1:9898/docs`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:42
F-04 Network egressCWE-200 · CWE-319Layer L1
- `http://127.0.0.1:9898/mcp`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:315
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -X POST http://127.0.0.1:9898/api/v1/technical/indicators/calculate \
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:327
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -X POST http://127.0.0.1:9898/mcp \
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

23 declared in source · 0 destructive

23 read0 write0 destructive
ToolWhat it doesRisk
_toolreturn nameread
alphavantage_fetch_to_jsonreturn await service.export_alphavantage_json(function, symbol, extra_params or {})read
calculate_support_resistancetry:read
fetch_ashare_filingstry:read
fetch_event_sec_filingstry:read
fetch_periodic_sec_filingstry:read
generate_trading_signaltry:read
get_asset_infotry:read
get_chip_distributiontry:read
get_document_chunkstry:read
get_filing_markdowntry:read
get_financial_reportstry:read
get_kline_datatry:read
get_latest_newstry:read
get_money_flowtry:read
get_north_bound_flowtry:read
get_real_time_pricetry:read
get_stock_newsdel ctxread
get_technical_indicatorstry:read
get_us_news_sentimentif ctx:read
get_us_valuation_metricstry:read
get_valuation_metricstry:read
tushare_fetch_to_csvreturn await service.export_tushare_csv(api_name, kwargs or {})read

Audit history

  1. ✕BLOCK D 69 / 100

    First audit · 689bb7888439

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Stock MCP server

What is the Stock MCP server?
专业的金融市场数据 MCP 服务器 - 支持A股/美股/加密货币,原生 MCP 协议,AI Agent 友好
What tools does Stock expose?
23 in total: 23 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Stock safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Stock need?
It reads ALPHA_VANTAGE_API_KEY, MINIO_ACCESS_KEY and MINIO_SECRET_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Stock run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on PyPI as stock-mcp.
How current is this page?
The grade is for one exact copy of the source (689bb7888439), read on 2026-10-06. The repository is watched and re-audited when it changes.
I already installed Stock. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • huweihua123/stock-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 689bb7888439Observed · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.