MCP server · Audited from source
Stock MCP server
by huweihua123/stock-mcpNo licenceAudited 6 Oct 2026 · source 689bb7888439
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 友好
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
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
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
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
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
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
LOWNetwork egressnet.raw_ip · README.md:40
- `http://127.0.0.1:9898/health`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:41
- `http://127.0.0.1:9898/docs`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:42
- `http://127.0.0.1:9898/mcp`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:315
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
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
| Tool | What it does | Risk |
|---|---|---|
_tool | return name | read |
alphavantage_fetch_to_json | return await service.export_alphavantage_json(function, symbol, extra_params or {}) | read |
calculate_support_resistance | try: | read |
fetch_ashare_filings | try: | read |
fetch_event_sec_filings | try: | read |
fetch_periodic_sec_filings | try: | read |
generate_trading_signal | try: | read |
get_asset_info | try: | read |
get_chip_distribution | try: | read |
get_document_chunks | try: | read |
get_filing_markdown | try: | read |
get_financial_reports | try: | read |
get_kline_data | try: | read |
get_latest_news | try: | read |
get_money_flow | try: | read |
get_north_bound_flow | try: | read |
get_real_time_price | try: | read |
get_stock_news | del ctx | read |
get_technical_indicators | try: | read |
get_us_news_sentiment | if ctx: | read |
get_us_valuation_metrics | try: | read |
get_valuation_metrics | try: | read |
tushare_fetch_to_csv | return await service.export_tushare_csv(api_name, kwargs or {}) | read |
Safer alternatives
All finance & crypto servers →ccq1/cn-financial-mcp
cn金融数据 MCP 服务器 — 工具包覆盖 A 股行情、财报、估值、板块、市场全景、新闻及宏观指标。
aahl/mcp-aktools
📈 提供股票、加密货币的数据查询和分析功能MCP服务器
tapetide-hq/nse-bse-indian-stock-market-data-mcp
NSE BSE Indian Stock Market Data MCP server — search, screen & analyze all 8,200+ NSE/BSE stocks with 52 tools: live quotes, financials, technicals, 326-ratio screener, FII/DII flows, options IV, IPOs & portfolio tracking. Works with Claude, ChatGPT, Cursor & any MCP client
Audit history
- ✕BLOCK D 69 / 100
First audit ·
689bb7888439
README badge
Badges show the current verdict, BLOCK included
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?
What tools does Stock expose?
Is Stock safe to connect to an agent?
What credentials does Stock need?
How does Stock run?
How current is this page?
I already installed Stock. What should I do?
Can the verdict change?
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.
- What is the Stock MCP server?
- What tools does Stock expose?
- Is Stock safe to connect to an agent?