LangGraph Client icon

LangGraph Client

Implements LangGraph to interact with a PostgreSQL database via an MCP server.

About

This project provides a low-level example of using LangGraph to interact with a Model Context Protocol (MCP) server connected to a PostgreSQL database. It showcases how to leverage LangGraph agents to query and retrieve data from the database through the MCP server, facilitating context retrieval for language models.

Key Features

  • Uses fast agent templating for agent creation.
  • Creates MCP tools from a PostgreSQL database.
  • 1 GitHub stars
  • Streams output to a file.
  • Leverages a PostgreSQL database for data storage and retrieval.

Use Cases

  • Demonstrating interaction between LangGraph and MCP servers
  • Building LLM agents that require access to PostgreSQL database context
  • Creating context-aware AI applications using PostgreSQL data
Craft Better Prompts with AnyPrompt
Sponsored