finance-mcp
Provides tools for retrieving Coinbase spot, buy, and sell prices for cryptocurrency pairs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@finance-mcpget stock quote for AAPL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Finance MCP Server
Standalone read-only MCP server for:
stock quotes
batch stock quotes
Coinbase spot, buy, and sell prices
Polymarket market search
direct Polymarket market lookup by id or slug
This server uses the official Node MCP SDK and needs Node.js 18+.
Run npm install once in the folder, or use the included start scripts and they will bootstrap dependencies automatically.
Files
finance-core.js: shared read-only finance logic used by both MCP and OpenClawserver.js: MCP stdio server built on the official MCP SDKstart-windows.cmd: Windows launcherstart-linux.sh: Linux launcherstart-macos.sh: macOS launchermcp.json: portable LM Studio example configpackage.json: metadata and runtime dependenciespackage-lock.json: pinned dependency versions for consistent installsopenclaw/: OpenClaw CLI bridge, install scripts, and config snippet
Related MCP server: graph-polymarket-mcp
Exposed Tools
get_stock_quoteinput:
{ "symbol": "AAPL" }
get_stock_quotes_batchinput:
{ "symbols": ["AAPL", "MSFT", "SPY"] }
get_coinbase_spot_priceinput:
{ "pair": "BTC-USD" }
get_coinbase_pair_pricesinput:
{ "pair": "BTC-USD" }
search_polymarket_marketsinput:
{ "query": "fed", "limit": 5, "closed": false }
get_polymarket_marketinput:
{ "marketId": "531202" }or{ "slug": "bitboy-convicted" }
Runtime Controls
Optional environment variables:
FINANCE_MCP_HTTP_TIMEOUT_MSHTTP timeout in milliseconds
default:
15000clamp:
1000to60000
FINANCE_MCP_CACHE_TTL_MSin-memory response cache TTL in milliseconds
default:
5000set to
0to disable cachingclamp:
0to300000
FINANCE_MCP_SILENTsuppress the startup banner in tool-host logs
recommended for LM Studio:
1
Start The Server
Install dependencies first:
npm installDirectly with Node:
node server.jsWith npm:
npm startWith the included launchers:
Windows:
start-windows.cmdLinux:
./start-linux.shmacOS:
./start-macos.sh
The launchers check for local dependencies and run npm install --no-fund --no-audit automatically if needed.
Windows launcher behavior
start-windows.cmd starts a stdio MCP server. If you run it manually, it will stay open and look mostly idle until LM Studio or another MCP host connects.
That is expected. It is waiting for MCP traffic, not serving an HTTP page.
LM Studio Compatibility
LM Studio's MCP bridge expects newline-delimited JSON over stdio, which is the transport used by the official Node MCP SDK. This repo now uses that same SDK transport, which is why it connects cleanly in LM Studio.
LM Studio mcp.json Example
Windows:
{
"mcpServers": {
"finance": {
"command": "C:\\path\\to\\node.exe",
"args": [
"C:\\path\\to\\finance-mcp-server\\server.js"
],
"env": {
"FINANCE_MCP_SILENT": "1",
"FINANCE_MCP_HTTP_TIMEOUT_MS": "20000",
"FINANCE_MCP_CACHE_TTL_MS": "10000"
}
}
}
}Replace both Windows paths with your actual node.exe location and your local finance-mcp-server\\server.js path.
Linux:
{
"mcpServers": {
"finance": {
"command": "/absolute/path/to/finance-mcp-server/start-linux.sh",
"env": {
"FINANCE_MCP_SILENT": "1",
"FINANCE_MCP_HTTP_TIMEOUT_MS": "20000",
"FINANCE_MCP_CACHE_TTL_MS": "10000"
}
}
}
}macOS:
{
"mcpServers": {
"finance": {
"command": "/absolute/path/to/finance-mcp-server/start-macos.sh",
"env": {
"FINANCE_MCP_SILENT": "1",
"FINANCE_MCP_HTTP_TIMEOUT_MS": "20000",
"FINANCE_MCP_CACHE_TTL_MS": "10000"
}
}
}
}LM Studio Custom Settings
Recommended settings for LM Studio:
FINANCE_MCP_HTTP_TIMEOUT_MSincrease upstream API timeout for slower responses
good starting value:
20000
FINANCE_MCP_CACHE_TTL_MScache repeated requests briefly so tool calls stay responsive
good starting value:
10000
FINANCE_MCP_SILENTsuppress the startup banner in LM Studio plugin logs
recommended value:
1
These are set through the env block in the finance MCP entry.
OpenClaw Compatibility
This repo includes an OpenClaw-friendly CLI bridge so OpenClaw can use the same finance tools without depending on MCP host support. The fastest no-setup usage path after install is:
node finance-tools.js quickFrom the repo itself, you can also run:
npm run openclaw:quickFiles:
openclaw/finance-tools.jsopenclaw/skill/SKILL.mdopenclaw/install-skill-windows.cmdopenclaw/install-skill-posix.shopenclaw/openclaw-config-snippet.json
OpenClaw CLI Examples
node openclaw/finance-tools.js quick
node openclaw/finance-tools.js stock-quote --symbol AAPL
node openclaw/finance-tools.js stock-batch --symbols AAPL,MSFT,SPY
node openclaw/finance-tools.js coinbase-pair --pair BTC-USD
node openclaw/finance-tools.js polymarket-search --query bitcoin --limit 5
node openclaw/finance-tools.js polymarket-market --slug bitboy-convicted
node openclaw/finance-tools.js configOpenClaw Skill Install
Windows:
openclaw\install-skill-windows.cmdLinux or macOS:
./openclaw/install-skill-posix.shThis installs the sample skill to ~/.openclaw/skills/finance-mcp.
The install script copies SKILL.md, finance-tools.js, finance-core.js, server.js, the start scripts, and the npm metadata so the skill folder can run the MCP server locally if needed.
OpenClaw Config Defaults
To make the tool easy for OpenClaw agents to use, add defaults in ~/.openclaw/openclaw.json under skills.entries["finance-mcp"].
Example:
{
"skills": {
"entries": {
"finance-mcp": {
"defaultStockSymbols": ["AAPL", "MSFT", "SPY"],
"defaultCoinbasePair": "BTC-USD",
"defaultPolymarketQuery": "bitcoin",
"defaultPolymarketSlug": "bitboy-convicted",
"defaultPolymarketLimit": 3,
"httpTimeoutMs": 20000,
"cacheTtlMs": 10000
}
}
}
}Once that is set:
node finance-tools.js quickuses those defaults automaticallynode finance-tools.js stock-batchusesdefaultStockSymbolsnode finance-tools.js coinbase-pairusesdefaultCoinbasePairnode finance-tools.js polymarket-searchusesdefaultPolymarketQuerynode finance-tools.js polymarket-marketcan fall back todefaultPolymarketSlug
Notes
Stock quotes use Yahoo Finance chart data.
Coinbase uses the public price endpoints for spot, buy, and sell prices.
Polymarket uses the public gamma API.
The server keeps a short in-memory cache to reduce repeated upstream requests.
This is read-only. It does not place trades or authenticate to any exchange.
LM Studio expects
mcp.jsonto be strict JSON. Do not leave//comments or trailing commas in the file.On Windows, direct
node.exelaunch is more reliable in LM Studio than wrapping the server withcmd /c.If you copy this folder somewhere else, run
npm installin that folder once before pointing LM Studio atserver.js, unless you plan to use the included start scripts for first-run bootstrap.After editing
C:\Users\franz\.lmstudio\mcp.json, fully restart LM Studio so it reloads the MCP server list.OpenClaw compatibility is provided through the included CLI bridge and skill files, so the same finance actions are available even outside MCP hosts.
start-windows.cmdis a stdio launcher. When started manually, it will stay mostly idle until an MCP host connects.On Linux or macOS, run
chmod +x start-linux.sh start-macos.shafter copying the folder if the scripts are not executable.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Franzferdinan51/finance-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server