1. Conduid
  2. AI
  3. Langchain4j
MCP server · AI

Langchain4j

LangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes implementing RAG, tool calling (including support for MCP), and agents easy. LangChain4j integrates seamles

Unclaimed Apache-2.0 last commit 6 months ago chromachatgpthuggingfacejavaanthropicgeminiaigptembeddings
92Excellent

Scored 16 hours ago · breakdown

About Langchain4j

Langchain4j is an MCP server published by langchain4j in the AI category: langChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes implementing RAG, tool calling (including support for MCP), and agents easy. LangChain4j integrates seamles. It has been installed 0 times through Conduid.

The repository has 11K stars and 2.0K forks, with the last commit 6 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx langchain4j

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Langchain4j

Powered by Claude · Grounded in docs

I know everything about Langchain4j. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

1.19.01.19.0 and 1.19.0-beta29 · 14 Aug 2026Notable Changes MCP client according to 2026-07-28 by @jmartisk in https://github.com/langchain4j/langchain4j/pull/5881 Update milvus to V2 service & support hybrid search by @yangzho12138 in…
1.11.111.11.11 and 1.11.11-beta19 · 11 Aug 2026Full Changelog**: https://github.com/langchain4j/langchain4j/compare/1.11.10...1.11.11
1.18.11.18.1 and 1.18.1-beta28 · 29 Jul 2026Full Changelog**: https://github.com/langchain4j/langchain4j/compare/1.18.0...1.18.1
1.11.101.11.10 and 1.11.10-beta19 · 29 Jul 2026Full Changelog**: https://github.com/langchain4j/langchain4j/compare/1.11.9...1.11.10
1.5.31.5.3 and 1.5.3-beta11 · 29 Jul 2026Full Changelog**: https://github.com/langchain4j/langchain4j/compare/1.5.2...1.5.3

README

LangChain4j: idiomatic, open-source Java library for building LLM-powered applications on the JVM

Build Status Nightly Build CODACY

Discord BlueSky X Maven Version

Introduction

Welcome!

The goal of LangChain4j is to simplify integrating LLMs into Java applications.

Here's how:

  1. Unified APIs: LLM providers (like OpenAI or Google Vertex AI) and embedding (vector) stores (such as Pinecone or Milvus) use proprietary APIs. LangChain4j offers a unified API to avoid the need for learning and implementing specific APIs for each of them. To experiment with different LLMs or embedding stores, you can easily switch between them without the need to rewrite your code. LangChain4j currently supports 20+ popular LLM providers and 30+ embedding stores.
  2. Comprehensive Toolbox: Since early 2023, the community has been building numerous LLM-powered applications, identifying common abstractions, patterns, and techniques. LangChain4j has refined these into practical code. Our toolbox includes tools ranging from low-level prompt templating, chat memory management, and function calling to high-level patterns like Agents and RAG. For each abstraction, we provide an interface along with multiple ready-to-use implementations based on common techniques. Whether you're building a chatbot or developing a RAG with a complete pipeline from data ingestion to retrieval, LangChain4j offers a wide variety of options.
  3. Numerous Examples: These examples showcase how to begin creating various LLM-powered applications, providing inspiration and enabling you to start building quickly.

LangChain4j began development in early 2023 amid the ChatGPT hype. We noticed a lack of Java counterparts to the numerous Python and JavaScript LLM libraries and frameworks, and we had to fix that!

Despite the name, LangChain4j is not a Java port of LangChain (Python) — it is built for Java, not ported to it. It is an idiomatic Java library designed from the ground up around Java conventions: type safety, POJOs, annotations, interfaces, dependency injection, fluent APIs, and first-class integrations with Quarkus, Spring Boot, Helidon, and Micronaut. Its API, internals, and release cycle are independent of the Python LangChain project.

We actively monitor community developments, aiming to quickly incorporate new techniques and integrations, ensuring you stay up-to-date. The library is under active development. While some features are still being worked on, the core functionality is in place, allowing you to start building LLM-powered apps now!

Documentation

Documentation can be found here.

The documentation chatbot (experimental) can be found here.

Getting Started

Getting started guide can be found here.

Code Examples

Please see examples of how LangChain4j can be used in langchain4j-examples repo:

Useful Materials

Useful materials can be found here.

Get Help

Please use Discord or GitHub discussions to get help.

Request Features

Please let us know what features you need by opening an issue.

Contribute

Contribution guidelines can be found here.

README mirrored from the source repository 16 hours ago. The original is authoritative.

Questions

About Langchain4j

How do I install Langchain4j?

Run npx langchain4j, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Langchain4j safe to use with an AI agent?

Its trust score is 92 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Langchain4j still maintained?

Yes — the latest release is 1.19.0 (14 Aug 2026), and the last commit was 6 months ago. The repository has 11K stars and 0 open issues.