← 返回目录
🗄️

langchain4j

databasesJavaremote🟢 活跃维护
11,584 stars
最后更新:2026/4/13
质量评分
良好71/100
0255075100
发现方式
github-search
最后更新
2026/4/13
首次收录
2026/4/12
状态
✓ 活跃

📝 简介

LangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to p

🏷️ 标签

langchain4janthropicchatgptchromaembeddings

🚀 安装与配置

🟡 手动配置
快速安装
git clone https://github.com/langchain4j/langchain4j && cd langchain4j
复制
Claude Desktop 配置
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "langchain4j": {
      "command": "npx",
      "args": [
        "-y",
        "langchain4j"
      ]
    }
  }
}
复制
Cursor 配置
在 Cursor Settings → MCP 中添加
{
  "mcpServers": {
    "langchain4j": {
      "command": "npx",
      "args": [
        "-y",
        "langchain4j"
      ]
    }
  }
}
复制
📋 环境要求: 查看仓库说明
查看 GitHub 仓库