Stock-Market Research Assistant MCP Server
Provides tools for managing watchlists and saving/retrieving research notes and analysis reports in a PostgreSQL-backed database (Lakebase).
Click on "Deploy 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., "@Stock-Market Research Assistant MCP ServerGet the latest stock price and recent news for TSLA, then add it to my watchlist."
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.
databricks-capstone-delivery
Weather Intelligence
Databricks AI Bootcamp capstone: a weather intelligence service that ingests National Weather Service data, creates 384-dimensional embeddings, stores them in Lakebase Postgres with pgvector, and exposes grounded retrieval through a dashboard and MCP server.
Architecture
Ingestion: Python notebook fetches NWS observations, alerts, and forecasts.
Storage: Lakebase Autoscaling Postgres stores weather documents and
VECTOR(384)embeddings with an HNSW index.Retrieval: Flask
POST /weather/searchembeds a query and performs parameterized cosine-distance search.MCP: FastMCP exposes
get_current_weather,get_forecast,predict_umbrella_needed,save_weather_note,add_weather_watchlist, andremove_weather_watchlist.Apps:
weather-dashboardserves the browser UI;weather-mcpis attached to the Agent Bricks supervisor agent.
Related MCP server: Financial Modeling Prep (FMP) MCP Server
Repository layout
dashboard/ Flask app, Lakebase helpers, weather UI
weather_mcp_server/ FastMCP service and write tools
notebooks/ingest_weather_embeddings.py
sql/05_setup_weather_documents.sql
sql/06_setup_weather_embeddings.sql
sql/07_setup_research_notes.sql
resources/ Databricks bundle resources
docs/EVIDENCIAS_WEATHER.md Evidence mapping and validation notes
evidence/ Reproducible execution evidence
submissions/ Three capstone submission archivesRun locally
pip install -r dashboard/requirements.txt
FLASK_APP=dashboard.app flask run --port 8001The deployed Apps receive Lakebase access through Databricks Secrets. Do not place connection URLs, OAuth tokens, or other credentials in Git.
API examples
curl -X POST http://localhost:8001/weather/search \
-H 'Content-Type: application/json' \
-d '{"query":"heavy rain in Lisbon","top_k":5}'
curl http://localhost:8001/api/watchlist
curl -X POST http://localhost:8001/api/watchlist/LISBON
curl -X DELETE http://localhost:8001/api/watchlist/LISBONValidation evidence
The implementation and runtime evidence are mapped in docs/EVIDENCIAS_WEATHER.md. The three submission packages are:
submissions/vector-weather-retrieval-service.zipsubmissions/build-your-own-weather-mcp-server.zipsubmissions/capstone-project-submission.zip
Each archive has a companion SHA-256 checksum file.
Security
Secrets remain in Databricks Secret Scopes. All user-scoped writes use the authenticated email and parameterized SQL. The dashboard and MCP write paths do not accept a caller-supplied identity in place of the authenticated identity when deployed behind Databricks Apps.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server giving AI agents one-connection access to China A-share market intelligence: financials,
Financial data MCP for market, company, news, macro, and US Congress research.
MCP server for stocksense-ai documentation, generated by doc2mcp.
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.112,290MIT
- AlicenseBqualityCmaintenanceAn MCP server that provides comprehensive access to real-time stock quotes, financial statements, analyst estimates, and technical indicators via the Financial Modeling Prep API. It enables users to conduct in-depth financial analysis and track market performance through specialized tools, resources, and prompt templates.2614 npm1MIT
- AlicenseAqualityFmaintenanceA comprehensive MCP server for stock analysis and trading insights, including stock screening, fundamental analysis, insider trading, options analysis, social media research, and news analysis.1075MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes stock research tools (fundamentals, news, technicals, analyst ratings) to AI clients, enabling autonomous generation of structured investment briefs.-