What it does
查询 A 股、美股、港股与场内基金行情,并通过 Node.js、浏览器、CLI 或 MCP 快速接入。
- Connects Instruction files the AI reads
- Account or key No key found in README or SKILL.md
- Category Andere
Für Anbieter: Badge ins README
Wenn du das gebaut hast, füge diesen Code in dein README ein. Das Badge verlinkt auf diese Seite.
[](https://mcp.popnx.com/en/skills/zhangxiangliang-stock-api)Ähnliche Skills
Gleiche Art Arbeit, sortiert wie die Skill-Liste
| Dieser stock-api | llmfit | claude-video | VideoCaptioner | claude-cookbooks | |
|---|---|---|---|---|---|
| Anbieter | zhangxiangliang | AlexsJones | bradautomates | WEIFENG2333 | anthropics |
| Skills | 1 | 1 | 1 | 1 | 4 |
| GitHub-Sterne | 2.005 | 39.064 | 21.168 | 16.570 | 54.832 |
| Letzte Codeänderung | 18. Nov. 2026 | 18. Nov. 2026 | 25. Sept. 2026 | 12. Sept. 2026 | 17. Nov. 2026 |
| Lizenz | MIT | MIT | MIT | GPL-3.0 | MIT |
1 Skills (Anweisungssammlungen) von zhangxiangliang, die eine KI liest und befolgt · kein MCP-Server
Was einen Skill von MCP unterscheidet
MCP = die Hände
Verbindet die KI mit einem externen Dienst oder Daten, etwa Notion lesen oder eine Rechnung erstellen. Ein Programm oder Server muss laufen.
Skill = das Handbuch
Eine Textdatei, die der KI zeigt, wie eine Aufgabe geht. Sie verbindet sich mit nichts.
Manches überschneidet sich: Einige Skills starten Skripte mit Werkzeugen, einige MCP-Server liefern nur Wissen. Geh von der Aufgabe aus.
Funktioniert mit
Claude CodeCodex
Laut README des Anbieters und den Ordnern im Repo
Installieren
Is it safe?
- Who made it
GitHub account zhangxiangliang (person), 8 years old
- Use and upkeep
★ 2.005 stars · code last changed 18. Nov. 2026
- Any scripts?
71 scripts that can run on a computer: eslint.config.mjs, jest.config.js, jest.integration.config.js, scripts/browser-smoke.mjs and 67 more
- Uses the internet?
Could not check every script (some are too large); read them first
- Changes machine-wide settings?
No hooks or writes to machine settings found
Checked automatically from the repo files at commit bdab240 (read only, nothing was run). Not a safety guarantee: read it and decide for yourself
Zuerst: Welche KI nutzt du?
Wähle deine App, dann zeigt diese Seite nur die Installation für diese App
Option 1Upload to claude.ai (web and app)
Uploading to claude.ai would fail: the description is over 200 characters (258). Use "Let the AI install it" instead
Option 1Claude Code installieren lassen
Kopiere diesen Satz und füge ihn in einen Claude Code-Chat ein
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Claude Code neu starten, dann /stock-api tippen oder eine passende Aufgabe stellen; Claude nutzt den Skill
Checked against official docs 12. Nov. 2026 · Source: code.claude.com
For Terminal users
Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.
Terminal öffnen
Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“
Skill-Ordner nach ~/.claude/skills kopieren
Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md
git clone --depth 1 https://github.com/zhangxiangliang/stock-api.git /tmp/popnx-skill-zhangxiangliang-stock-api-bdab240 && mkdir -p ~/.claude/skills && cp -R '/tmp/popnx-skill-zhangxiangliang-stock-api-bdab240/.' ~/.claude/skills/stock-apiClaude Code neu starten, dann /stock-api tippen oder eine passende Aufgabe stellen; Claude nutzt den Skill
Selbst installierte Skills funktionieren in der ChatGPT-Desktop-App, in Codex CLI und in der Codex-Erweiterung für die IDE · ChatGPT im Web und auf dem Handy kann selbst installierte Skills nicht nutzen, nur Skills, die mit einem Plugin aus dem Verzeichnis kommen
ChatGPT-Desktop-App
Die ChatGPT-Desktop-App enthält Codex, und Codex liest Skills aus dem Ordner ~/.agents/skills
Option 1ChatGPT installieren lassen
Öffne Codex in der ChatGPT-Desktop-App und füge diesen Satz in den Chat ein
The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Option 2Ordner selbst ablegen
Lege den Ordner stock-api unter ~/.agents/skills/stock-api ab
~ ist dein Home-Ordner ($HOME)
For Terminal users
Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.
Terminal öffnen
Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“
Skill-Ordner nach ~/.agents/skills kopieren
Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md
git clone --depth 1 https://github.com/zhangxiangliang/stock-api.git /tmp/popnx-skill-zhangxiangliang-stock-api-bdab240 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-zhangxiangliang-stock-api-bdab240/.' ~/.agents/skills/stock-api
Nach der Installation
- ChatGPT-Desktop-App: Öffne Skills in der Seitenleiste, um zu sehen, ob der Skill da ist
- So nutzt du ihn: In ChatGPT @ tippen und den Skill wählen · in Codex CLI oder der IDE-Erweiterung /skills ausführen oder $ und den Skill-Namen tippen
- Codex erkennt neu installierte Skills selbst; wenn einer nicht erscheint, starte Codex neu
Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com
ChatGPT im Web und auf dem Handy
Selbst installierte Skills funktionieren hier nicht, nur Skills, die mit einem Plugin aus dem Verzeichnis kommen
Um diesen Skill mit ChatGPT zu nutzen, verwende die ChatGPT-Desktop-App wie oben beschrieben
Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com
Option 1Codex installieren lassen
Kopiere diesen Satz und füge ihn in einen Codex-Chat ein · Funktioniert in Codex in der ChatGPT-Desktop-App, in Codex CLI und in der IDE-Erweiterung
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Codex erkennt neu installierte Skills selbst; wenn einer nicht erscheint, starte Codex neu · So nutzt du ihn: In ChatGPT @ tippen und den Skill wählen · in Codex CLI oder der IDE-Erweiterung /skills ausführen oder $ und den Skill-Namen tippen
Checked against official docs 15. Nov. 2026 · Source: learn.chatgpt.com
For Terminal users
Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.
Terminal öffnen
Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“
Skill-Ordner nach ~/.agents/skills kopieren
Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md
git clone --depth 1 https://github.com/zhangxiangliang/stock-api.git /tmp/popnx-skill-zhangxiangliang-stock-api-bdab240 && mkdir -p ~/.agents/skills && cp -R '/tmp/popnx-skill-zhangxiangliang-stock-api-bdab240/.' ~/.agents/skills/stock-apiCodex neu starten und eine passende Aufgabe stellen; Codex listet den Skill
Option 1Cursor installieren lassen
Kopiere diesen Satz und füge ihn in einen Cursor-Chat ein
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Im Agent-Chat von Cursor / tippen und stock-api wählen
Checked against official docs 12. Nov. 2026 · Source: cursor.com
For Terminal users
Ein Skill sind Anweisungen, denen die KI folgt. Lies die Dateien vor der Installation und installiere nur von vertrauenswürdigen Anbietern.
Terminal öffnen
Mac: Command+Leertaste und Terminal tippen · Windows: Der Befehl unten funktioniert nicht in PowerShell; nutze oben „KI installiert es“
Skill-Ordner nach ~/.cursor/skills kopieren
Lädt das Repo in einen temporären Ordner und kopiert nur Ordner mit einer SKILL.md
git clone --depth 1 https://github.com/zhangxiangliang/stock-api.git /tmp/popnx-skill-zhangxiangliang-stock-api-bdab240 && mkdir -p ~/.cursor/skills && cp -R '/tmp/popnx-skill-zhangxiangliang-stock-api-bdab240/.' ~/.cursor/skills/stock-apiIm Agent-Chat von Cursor / tippen und stock-api wählen
Option 1Let the AI install it
Für andere Apps, die Skills lesen. Der Satz enthält die Pfade für Claude Code, Codex und Cursor, damit die KI den für deine App wählt · Copy this sentence into the app’s chat
For one project, paste it into a chat that is open in that project’s folder · The AI always shows you the path before installing
The AI tells you what it will do first and asks your permission at every step
Checked against official docs 12. Nov. 2026 · Source: code.claude.com, learn.chatgpt.com, cursor.com
For Terminal users
Andere Apps mit Agent Skills (etwa Gemini CLI oder GitHub Copilot) nutzen andere Ordner. Sieh in deren Anleitung nach und kopiere den Ordner mit der SKILL.md dorthin.
Skill-Ordner am 11. Nov. 2026 mit den offiziellen Anleitungen von Claude Code, Codex und Cursor geprüft
✓ Befehle geprüft am 18. Nov. 2026
Original-SKILL.md ansehen
Der folgende Text stammt aus dem Repo des Anbieters, nicht von PopNx MCP
2.025 Zeichen · Ganze Datei auf GitHub öffnen
---
name: stock-api
description: Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets. Use when the user asks for a stock price, a quote, market data, candlestick/K-line data, or to look up a stock code by company name.
---
# stock-api
Get normalized stock market data by running the `stock-api` CLI. It covers
China A-shares, Hong Kong, and US markets, with automatic provider fallback
across Tencent, Sina, and Eastmoney.
## When to use
- The user wants a current price or quote for one or more stocks.
- The user wants K-line / candlestick history for charting or analysis.
- The user knows a company name but not its code (search first, then quote).
## How to run
Use `npx stock-api <command>`. Every command prints JSON to stdout.
Stock codes use a market prefix: `SH` / `SZ` (China), `HK` (Hong Kong),
`US` (US). Examples: `SH510500`, `SZ000651`, `HK02020`, `USDJI`.
### Get one quote
```bash
npx stock-api get-stock SH510500
```
### Get several quotes at once
```bash
npx stock-api get-stocks SH510500 SZ000651
```
### Get K-line (candlestick) history
```bash
npx stock-api get-klines SH600519 --period week --count 20
```
- `--period` — `day` (default), `week`, or `month`.
- `--count` — number of rows (defaults to the provider default).
- `--adjust` — `none` (default), `qfq` (forward), or `hfq` (backward).
### Search a code by keyword
```bash
npx stock-api search-stocks 格力电器
```
## Options (all commands)
- `--source` — `auto` (default), `tencent`, `sina`, or `eastmoney`.
Leave it on `auto` unless the user asks for a specific provider; `auto`
falls back across providers if one fails.
## Notes
- Output is JSON — parse it, don't reformat by hand, before showing the user.
- If a code returns no data, try `search-stocks` to confirm the correct code.
- For programmatic/persistent use, this same engine is also available as an
MCP server: `npx stock-api mcp`. Prefer the CLI commands above for one-off
lookups.
Diskussion
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Von GitHub
- GitHub-Sterne
- 2.005
- Anbieter
- zhangxiangliang
- Lizenz
- MIT
- Letzte Codeänderung
- 18. Nov. 2026
- SKILL.md-Dateien im Repo (mit Übersetzungen und Vorlagen)
- 1
- Themen
- browser, mcp, nodejs, stocks