mcp-go MCP Server
mark3labs/mcp-go
[](https://agentrank-ai.com/tool/mark3labs--mcp-go/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
mark3labs/mcp-go is a Go MCP server licensed under MIT. A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Ranked #90 out of 24846 indexed tools.
In the top 1% of all indexed tools.
Has 9,157 GitHub stars.
Used by 4,307 other projects.
Has 231 contributors.
Ecosystem
Score Breakdown
9,157 stars → well-known project
Last commit 18d ago → recently updated
315/377 issues closed → responsive maintainer
231 contributors → active community
4,307 dependents → widely adopted
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
Matched Queries
From the README
<div align="center">
<strong>A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.</strong>
<br>
<br>
Discuss the SDK on [Discord](https://discord.gg/RqSS2NQVsY)
</div>
```go
package main
import (
"context"
"fmt"
"github.com/mark3labs/mcp-go/mcp"
"github.com/mark3labs/mcp-go/server"
)
func main() {
// Create a new MCP server
s := server.NewMCPServer(
"Demo 🚀",
"1.0.0",
server.WithToolCapabilities(false),
)
// Add tool
tool := mcp.NewTool("hello_world",
mcp.WithDescription("Say hello to someone"),
mcp.WithString("name",
mcp.Required(),
mcp.Description("Name of the person to greet"),
),
)
// Add tool handler
s.AddTool(tool, helloHandler)
// Start the stdio server
if err := server.ServeStdio(s); err != nil {
fmt.Printf("Server error: %v\n", err)
Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.