Skip to main content
Glama
spencer-life

LangChain Anthropic MCP Server

by spencer-life
README.md
# LangChain Anthropic MCP Server

šŸš€ **MCP server that exposes LangChain + Anthropic Claude capabilities as tools** - instantly generate production-ready RAG systems, Supabase vector stores, document ingestion pipelines, and more!

Perfect for use with **Cursor AI** or any MCP client.

## šŸš€ Quick Start

### Installation for Cursor

Add to your Cursor `mcp.json`:

```json
{
  "mcpServers": {
    "langchain-anthropic": {
      "command": "npx",
      "args": [
        "-y",
        "spencer-life/langchain-anthropic-mcp-server"
      ],
      "env": {}
    }
  }
}
```

**That's it!** Restart Cursor and start using it.

## šŸ’” Usage

Once installed, ask your AI assistant:

```
"Use langchain-anthropic to setup a Supabase vector store"
"Use langchain-anthropic to create a RAG chain with Claude Sonnet"
"Use langchain-anthropic to generate PDF document ingestion code"
```

The AI will call the appropriate tool and return complete, production-ready code!

## šŸ› ļø Available Tools

- āœ… **setup_supabase_vectorstore** - Complete Supabase vector store setup
- āœ… **create_rag_chain** - Full RAG with Claude
- āœ… **generate_document_ingestion** - Document loading & chunking
- āœ… **create_conversational_rag** - RAG with conversation memory
- āœ… **setup_hybrid_search** - Vector + keyword search
- āœ… **create_multi_query_retriever** - Multi-query for better recall
- āœ… **setup_extended_thinking** - Extended thinking configuration
- āœ… **generate_package_setup** - Complete dependencies

## šŸ“ License

MIT License

**Built with ā¤ļø for the LangChain and MCP community**