nutanlade/mcp-llm-db
3.1
If you are the rightful owner of mcp-llm-db and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates how to build a Minimal Chat Protocol (MCP) server using FastAPI, integrate it with a PostgreSQL database, and utilize a local Ollama LLM to generate safe SQL queries from natural language questions.
Tools
Functions exposed to the LLM to take actions
query_db
Generates SQL queries with Ollama and executes them against PostgreSQL, returning JSON results.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client