Scroll AI Now

Open source repo

langchain4j

LangChain4j is an idiomatic, open‑source Java library for building LLM‑powered applications on the JVM.

By langchain4j · Apache‑2.0 · Java · ★ 13,472

View on GitHubProject siteMore repos in the app

What it is

langchain4j is an open source MCP server or MCP tool, published on GitHub by langchain4j and written mainly in Java. Its maintainers file it under agentic‑ai, agents, ai‑agents, anthropic.

In its own words on GitHub: “LangChain4j is an idiomatic, open‑source Java library for building LLM‑powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It integrates seamlessly with enterprise Java frameworks like Quarkus and Spring Boot.”

Who it is for

People who use Claude, ChatGPT, Cursor or another assistant that speaks MCP and want it to reach a tool or data source it cannot reach on its own. You add the server to the assistant, and the assistant can call it while it works.

How to start

  1. Open the repo and read the README from the top, then the license file.
  2. It is written in Java, so you will usually add it with Maven or Gradle.
  3. Its project site, docs.langchain4j.dev, has documentation and sometimes a hosted version you can try before you install anything.
  4. Then add it to your assistant’s MCP settings and restart the assistant so it picks the server up.
  5. Pin a release or a commit, so an update does not change how it behaves without you noticing.

Why it is on our list

The facts

LicenseApache‑2.0
What the license allowsYou can use, change and ship it, including in paid products. Keep the notice and state your changes. It also grants a patent license.
Main languageJava
Stars13,472
Topicsagentic‑ai, agents, ai‑agents, anthropic, embeddings
CreatedJune 20, 2023
Last checkedDecember 2, 2026

Before you use it

Are you the author?

This repo has its own page on Scroll AI Now.
Show it in your README with the badge below.
It links readers back to this page. How the badge works

Featured on Scroll AI Now

Markdown
[![Featured on Scroll AI Now](https://scrollainow.com/badge/featured.svg)](https://scrollainow.com/repos/langchain4j-langchain4j/)
HTML
<a href="https://scrollainow.com/repos/langchain4j-langchain4j/"><img src="https://scrollainow.com/badge/featured.svg" alt="Featured on Scroll AI Now" height="28"></a>

Related repos

All curated AI repos · Agent skills

Try it in your browser

Today's AI news, one card per swipe.
Free to start.

Open the web app