Ollama PostgreSQL Data Analysis
Integrates natural language querying with PostgreSQL databases to enable AI-interpreted data analysis without manual SQL writing.
This MCP implementation provides an interactive chat interface that combines Ollama's LLM capabilities with PostgreSQL database access. Built with TypeScript and leveraging the Model Context Protocol, it enables natural language querying of SQL databases. The system automatically generates SQL queries based on user input, executes them through a secure, read-only connection, and returns AI-interpreted results. Key features include schema-aware responses and support for the qwen2.5-coder:7b-instruct model. This implementation is particularly useful for data analysts, business users, and developers who need to quickly extract insights from PostgreSQL databases without writing SQL queries manually.
Source
Repository: https://github.com/robdodson/ollama-mcp-db
Maintain Ollama PostgreSQL Data Analysis?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Ollama PostgreSQL Data Analysis on getagentictools](https://getagentictools.com/mcp/robdodson-ollama-mcp-db?ref=badge)