# mark3labs/mcp-go

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

Repository: https://github.com/mark3labs/mcp-go
Canonical: https://ross.abutalabs.com/products/mcp-go
Homepage: http://mcp-go.dev/
Language: Go
License: MIT
License Family: permissive
Last push: 2026-08-12T12:29:17+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 97, release rhythm 85, longevity 46
- inputs: {"age_days": 644, "days_push": 21, "days_rel": 21, "gap_med": 4, "n_releases_24m": 88}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9035, forks 878 (observed 2026-08-28T04:10:27.982079+00:00)

## What it is
A Go SDK implementing the Model Context Protocol (MCP), letting developers build MCP servers that expose tools, resources, and prompts to LLM applications. It supports multiple transports (stdio, StreamableHTTP, SSE, in-process) with a high-level, type-safe API.

## Use cases
- build an MCP server in Go that exposes tools to Claude or other LLM clients
- connect my Go backend's data sources to LLM applications via MCP
- expose internal APIs as MCP tools for AI agents
- run an MCP server over stdio for desktop AI apps
- serve MCP over HTTP with server-sent events
- add OAuth-protected MCP resources

## When to choose
- you are writing MCP servers or clients in Go
- you want a high-level, low-boilerplate SDK covering tools, resources, and prompts
- you need multiple transport options including stdio and HTTP

## When to avoid
- you need MCP support in another language like Python or TypeScript
- you require advanced MCP capabilities that are still in progress
- your project is not related to LLM-tool integration

## Facets
- artifact type: library
- maturity: active
- function: mcp, sdk, api-framework, http-server, auth
- domain: large-language-models, developer-tools, apis, backend
- platform: go, cross-platform, cli
- tags: model-context-protocol, llm-tools, stdio-transport, server-sent-events, tool-integration, ai-agents, web-server

## Member repositories
- mark3labs/mcp-go (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:27.982079+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:24:05.284741+00:00, confidence not recorded.
  - readme: https://github.com/mark3labs/mcp-go (fetched 2026-08-28T04:10:27.982079+00:00, sha 578d5a631c31)
  - homepage: http://mcp-go.dev/ (fetched 2026-08-29T08:24:07.168074+00:00, sha f820bb32b8b6)
  - site_page: http://mcp-go.dev/getting-started (fetched 2026-08-29T08:24:07.177384+00:00, sha 48c49b771f1c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
