Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Financial Modeling Prep API as MCP tools — quotes, statements, prices, and ~240 endpoints.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FMP_API_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"fmpsdk": {
"command": "uvx",
"args": [
"fmpsdk-mcp"
],
"env": {
"FMP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add fmpsdk --env FMP_API_KEY='ใส่ค่าของคุณ' -- uvx fmpsdk-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"fmpsdk": {
"command": "uvx",
"args": [
"fmpsdk-mcp"
],
"env": {
"FMP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"fmpsdk": {
"type": "stdio",
"command": "uvx",
"args": [
"fmpsdk-mcp"
],
"env": {
"FMP_API_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub daxm ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: FMP_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (20260829.1) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The idea behind this project is to provide a 'one-stop-shop' to the API endpoints provided by Financial Modeling Prep (FMP).
A personal note to you: my apologies for letting this package get so out of date. FMP kept reshuffling its API, then I had a personal issue delay me further. Things are back on track now. Because of that gap, roughly half of this package's old methods had gone defunct against FMP's current API, so rather than patch around that I rebuilt it from scratch against FMP's stable/ API. If you're on 20250102.0 or earlier you're on the old, pre-rewrite methods; anything newer uses the schema described below. Old releases are yanked from PyPI (a plain pip install fmpsdk now always gets the rewrite), but still installable if you pin one explicitly, e.g. pip install fmpsdk==20250102.0 — note that won't actually restore functionality, though: FMP sunset the legacy /api/v3/ API those old methods called entirely on 2025-08-31, so a pinned old version installs fine but its calls will fail regardless. It's there for compatibility with existing pinned requirements files while you migrate, not as a way to keep avoiding the rewrite.
29 data groups, ~240 methods total, each reachable both as client. (...) and grouped under a matching namespace, e.g. client.statements.income_statement(...):
Every method's own docstring says which FMP plan tier it needs (Free/Starter/Premium/ Ultimate) — see Pricing tiers below. One exception: the 7 client.tipranks methods are implemented and unit-tested but untested against a real response — see that section for why.
pip install fmpsdk python-dotenv (python-dotenv is optional — it's just how the example below loads your API key from a .env file)..env file and put your API key in it. Inside .env: FMP_API_KEY='blah'Client and call methods on it, grouped by data category — e.g. client.company.profile(symbol="AAPL"), client.statements.income_statement(symbol="AAPL").#!/usr/bin/env python3
from dotenv import load_dotenv
import fmpsdk
load_dotenv() client = fmpsdk.Client() # reads FMP_API_KEY from the environment
symbol = "AAPL" print(f"Company Profile: {client.company.profile(symbol=symbol)}")
try: client.statements.income_statement_ttm(symbol=symbol) except fmpsdk.FMPPlanLimitError: print("Your FMP plan doesn't cover this endpoint — check its docstring for which tier does.") except fmpsdk.FMPAuthenticationError: print("Check your FMP_API_KEY.")
One naming quirk worth knowing up front: client.quote is the namespace for the whole quote group (client.quote.aftermarket_quote(...), client.quote.batch_quote(...), etc.), so it shadows the top-level quote() method of the same name — call that one as client.quote.quote(symbol="AAPL").
FMP's plans form a ladder — Free, Starter, Premium, Ultimate — and each one adds more endpoints on top of the last. A call your plan doesn't cover raises fmpsdk.FMPPlanLimitError rather than returning data. There's no single tier table to keep in sync here — instead, every group module's docstring (e.g. fmpsdk/endpoints/search.py) and every method's own docstring says plainly which tier it needs, right next to the code that calls it, verified live against a real key at every tier from Free through Ultimate. Check those, or just try the call and catch FMPPlanLimitError.
One exception, outside that ladder entirely: `client.tipranks`'s 7 methods. They still 402 even on Ultimate — FMP's own error message says why: TipRanks data needs a separate paid add-on ("TipRanks data boost"), bought independently of the four plan tiers above. We haven't purchased it, so these 7 methods are implemented and unit-tested (mocked) but never verified against a real response — treat them as unverified rather than confirmed-working. If you have that add-on and hit a bug in one of them, a PR with the fix (and what the real response actually looks like) is welcome.
[`mcp/`](mcp/README.md) — a [Model Context Protocol](https://modelcontextprotocol.io) server, published separately as fmpsdk-mcp (so pip install fmpsdk never pulls in fastmcp). Lets an AI assistant (Claude Code, Claude Desktop, …) query FMP through this library: 10 curated tools for the common asks (quotes, profiles, statements, ratios, price history, news) plus discovery tools that reach all ~240 methods at runtime. With uv:
claude mcp add fmpsdk -s user -e FMP_API_KEY=your-key -- uvx fmpsdk-mcp
See mcp/README.md for the Claude Desktop config, the full tool list, and development setup.
[`openapi.json`](openapi.json) — an OpenAPI 3.1 description of the same API surface. FMP publishes no OpenAPI/Swagger document; this file is *generated by introspecting this library's source* (python tools/gen_openapi.py), not fetched from or endorsed by FMP.
See CONTRIBUTING.md — dev setup, the unit/live/ultimate test tiers, and specifically how to verify and PR a fix for the untested tipranks methods above.
BSD 3-Clause — see LICENSE.md.
Special thanks to the following people who have pitched in on this project! Open source works thanks to people who jump in and help! These are this project's stars. Thank you.