MCP_USDA_Server_Quantized
0
The MCP USDA Server is a modular template designed to fetch and format agricultural data from the USDA FAS PSD database. It aims to optimize data for consumption by Large Language Models, utilizing a client-server architecture and JSON-RPC 2.0 communication. Key features include the ability to add data tools and provide LLM integration for tool execution.
Overview
- A modular MCP server template for USDA agricultural data.
- Fetches, processes, and formats data from USDA FAS PSD database for LLMs.
- Features include adding data sources, formatting data for LLMs, and connecting to MCP clients.
Project Structure
- src/: Implementation of tools and server components.
- Architecture.md: Detailed architecture documentation.
- package.json: Dependencies and scripts.
JSON-RPC Communication
- Utilizes JSON-RPC 2.0 for client-server communication.
LLM Integration
- Compatible with LLMs supporting tool/function calling or instruction following.
Getting Started
- Requires Node.js (v14+) and npm/yarn.
- Clone the repo, install dependencies, start the server.
Extending the Server
- Create implementations in
src/tools/
,src/formatters/
,src/handlers/
for new tools.