Integrates with Google Gemini API to translate natural language user queries into structured tool calls. The LLM analyzes user intent and generates appropriate function calls to tools exposed by the MCP server.
Leverages Pydantic models to define input/output schemas for tools, enabling automatic validation of tool parameters and return values.
Model Context Protocol (MCP)
Modelcontextprotocol.io
Reference Implementations
FastMCP
A high-level, fast, Pythonic way to build MCP servers and clients
Fast Agent
A framework with complete, end-to-end tested MCP Feature support including Sampling, which helps create and interact with sophisticated Agents and Workflows in minutes. Both Anthropic (Haiku, Sonnet, Opus) and OpenAI models (gpt-4o/gpt-4.1 family, o1/o3 family) are supported
Demos
FastMCP
A fastmcp
tutorial
- MCP server:
mcp_server.py
: collection of tools/resources like calculator, trigonometry function, yahoo finance API call
- MCP clients:
mcp_client_simple.py
: simple client with rule-based query parsingmcp_client_llm.py
: client with LLM-based query parsingmcp_client_llm_resource.py
: client with LLM parsing and calling tool/resource (seereadme_tool_resource.md
for details)
see readme_gemini.md for more details
Setup
Streamlit MCP app
see fastmcp/README.md
FastMCP - AWS
To Be Built
see readme_aws.md for more details
MCP SDK
see mcp_sdk
sub-folder
To Be Verified
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A demonstration server for the Model Context Protocol (MCP) that exposes calculator and Yahoo Finance tools, allowing LLMs to interpret natural language requests and make tool calls via the MCP standard.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.Last updated -4PythonMIT License
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.Last updated -4PythonMIT License
- AsecurityAlicenseAqualityA simple MCP server for Yahoo Finance using yfinance. This server provides a set of tools to fetch stock data, news, and other financial information.Last updated -1020PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables interaction with Yahoo Finance to retrieve stock pricing, company information, and historical financial data through natural language queries.Last updated -92PythonMIT License