Built something? We create video reels & spotlights for GitHub projects.Promote your project →
modelcontextprotocol
Home / Java / java-sdk

modelcontextprotocol/java-sdk

The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI

Java ◇ java MIT
★3.8KSTARS
⑂1.1KFORKS
!279ISSUES
🏆#4,146GLOBAL RANK
🔥42DAYS TRENDING
🚀
Maintainer Growth Kit for java-sdk

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

⚡ Executive Summary & Quick Facts

Authoritative Source

java-sdk is java-sdk is an open-source project written in Java: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI..

Direct Citation for AI & Research:
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of December 2026), modelcontextprotocol/java-sdk has accumulated 3,777 GitHub stars and 1,105 forks. It is written in Java, licensed under MIT, and ranks #4,146 globally. It is actively maintained with the latest commit recorded on Nov 16, 2026.”
Repository modelcontextprotocol/java-sdk ↗
Primary Category java
Language & Stack Java
Software License MIT
Community Traction ★ 3.8K stars · ⑂ 1.1K forks · #4,146 globally
Maintenance ● Active (Last commit: Nov 16, 2026) · 279 open issues
Target Audience Developers and engineering teams building with Java, seeking reliable, tested, and actively maintained tooling for production workloads.

🛡️ Repository Maintenance & Health Audit (2026)

Health Score: 90/100 · Grade A
✅
Is java-sdk actively maintained in 2026?
Verdict: Actively Maintained

Yes, java-sdk is actively maintained. Continuous telemetry recorded the last code commit on Nov 16, 2026 (17 days ago). Supported by 3,777 stars and 1,105 community forks, this repository holds a calculated health index of 90/100, reflecting regular maintenance (17 days ago) and active community feedback (279 open).

Commit Recency
Nov 16, 2026
17 days since last push
Issue Backlog
279 Open Issues
Active Community Feedback (279 open)
Community Backing
1.1K Forks
3.8K Stars Recorded
Software License
MIT
Permissive & Inspectable

Star History

Continuous Observations
Interactive star growth chart for modelcontextprotocol/java-sdk
CSV
⭐ VIRAL README KIT & BACKLINKS

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

modelcontextprotocol/java-sdk Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/modelcontextprotocol/java-sdk.svg?theme=dark)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Live Badges Suite Shields.io Style

Compact badges for your README header. Real-time stars, velocity, health audit, and rank.

Featured badge Stars badge Velocity badge Health badge Rank badge
markdown (all 5 badges)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/modelcontextprotocol/java-sdk.svg?metric=featured)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/modelcontextprotocol/java-sdk.svg?metric=stars)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_badge) [![GitHubRepo Velocity](https://githubrepo.cloud/badge/modelcontextprotocol/java-sdk.svg?metric=velocity)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_badge) [![Maintenance Health](https://githubrepo.cloud/badge/modelcontextprotocol/java-sdk.svg?metric=health)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/modelcontextprotocol/java-sdk.svg?metric=rank)](https://githubrepo.cloud/repo/modelcontextprotocol/java-sdk?utm_source=readme_badge)

Momentum

+46

STARS · LAST 30 DAYS

2

PER DAY

#238

MOST-STARRED Java

Window7 days30 days90 days
Stars gained+0+46+180
Per day122
Forks gained+0+0+55

java-sdk gained 46 stars in the last 30 days, about 2 a day, and now has 3.8K. It is about 2 years old and has averaged roughly 1.9K stars a year. It ranks #238 among Java repositories and #4,146 across all languages on GitHubRepo.

Trending Record

java-sdk has maintained a continuous presence across global trending indexes, peaking at #2929. Below is the 30-day activity profile:

💡 Overview

java-sdk is an open-source project written in Java: The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI.

Engineered for speed, consistency, and developer ease, it solves common hurdles in java, mcp, mcp-client. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Java for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/modelcontextprotocol/java-sdk.git
cd java-sdk

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

JDK 17 or higher (OpenJDK / GraalVM)

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

java-sdk coordinates its core functionality through a modular Java pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Command-Line Automation

Execute automated build, deployment, and maintenance tasks directly from the terminal.

CI/CD Workflow Integration

Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.

Developer Environment Setup

Standardize local engineering workstations with single-binary utility commands.

Scripting & Pipeline Orchestration

Chain complex multi-stage scripts with reliable error reporting and exits.

🚀 Getting Started

1

Install java-sdk using your package manager: `git clone https://github.com/modelcontextprotocol/java-sdk.git`

2

Initialize your project workspace or configuration file for java-sdk.

3

Import java-sdk into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `java-sdk --help` to verify successful setup.

👍 Strengths

Active community backing with 3,731 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in Java for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Java and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

G

Ghidra is a software reverse engineering (SRE) framework

Compare ↗
S

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

Compare ↗
J
TheAlgorithms/Java ★ 67.4K Java

All Algorithms implemented in Java

Compare ↗
S

Spring Framework

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Java, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

modelcontextprotocol/java-sdk is currently ranked #4,146 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#4,141 fasiondog/hikyuu C++ ★ 3.8K Compare ↗
#4,142 unfoldadmin/django-unfold Python ★ 3.8K Compare ↗
#4,142 OmniNull/OmniWM Swift ★ 3.8K Compare ↗
#4,144 DataLinkDC/dinky Java ★ 3.8K Compare ↗
#4,145 lowRISC/opentitan SystemVerilog ★ 3.8K Compare ↗
#4,146 modelcontextprotocol/java-sdk This Project Java ★ 3.8K
#4,146 rust-lang/crates.io Rust ★ 3.8K Compare ↗
#4,148 cloudflare/workers-rs Rust ★ 3.8K Compare ↗
#4,148 inokawa/virtua TypeScript ★ 3.8K Compare ↗
#4,148 lucasmarkes/hairline TypeScript ★ 3.8K Compare ↗
#4,151 mathnet/mathnet-numerics C# ★ 3.8K Compare ↗
SPONSORED Trending Developer Tools & Services

Frequently Asked Questions

What does java-sdk do? +

The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI

Is java-sdk actively maintained in 2026? +

Yes, java-sdk is actively maintained. The latest code push was recorded on Nov 16, 2026 (17 days ago). It holds a calculated Maintenance Health Score of 90/100 (A rating) with 3,777 stars and 279 open issues.

What language is java-sdk written in? +

The primary language is Java. Topics include: java, mcp, mcp-client, mcp-server.

How many stars does java-sdk have? +

java-sdk has 3,777 stars and 1,105 forks on GitHub.

How does java-sdk rank among GitHub repositories? +

With 3,777 stars, modelcontextprotocol/java-sdk is ranked #4,146 globally across all repositories tracked on GitHubRepo and #238 among Java projects.

What license is java-sdk distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner