About Quarkus Langchain Ollama MCP Example
Quarkus Langchain Ollama MCP Example is an MCP server in the Agents category: example MCP client and server with Quarkus, Langchain4j and Ollama.
Install
git clone https://github.com/bertjan/quarkus-langchain-ollama-mcp-exampleThis 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 Quarkus Langchain Ollama MCP Example
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
quarkus-langchain-ollama-mcp-example
Example MCP client and server with Quarkus, Langchain4j and Ollama. The MCP server expects a city name and date, and will perform geocoding (city name to lan/lon) and fetch the min/max temperature for the given date and city.
Run with Java 17+, Maven 3.
Needs a locally running Ollama instance with a model with tool support (for example, ollama run llama3.1:latest)
Interact with the server (MCP calls) via the Quarkus UI on http://localhost:8080/q/dev-ui/io.quarkiverse.mcp.quarkus-mcp-server-sse/tools Interact with the client (via chat) via http://localhost:8081/q/dev-ui/io.quarkiverse.langchain4j.quarkus-langchain4j-core/chat
Run with mvn quarkus:dev
Example chat line for the client:
Hey, what's the temperature in Utrecht tomorrow?
replies with:
I've called the MCP tool to get the temperature for you! According to the result, tomorrow's minimum temperature in Utrecht will be around 15.6°C, while the maximum temperature is expected to reach about 20.6°C.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.