A simple Model Context Protocol (MCP) server written in Go that provides cat facts to LLMs like Claude.
- Exposes a
catfacttool that fetches random cat facts from the Cat Facts API - Implements the MCP protocol for seamless integration with Claude and other LLMs
- Built using the mark3labs/mcp-go library
- Clone this repository
- Run directly with
go run main.go - Or build with
go build -o mcpgo main.go
Configure Claude Desktop to use this MCP server:
{
"mcpServers": {
"CatFacts": {
"command": "go",
"args": [
"run",
"/path/to/mcpgo/main.go"
]
}
}
}Or use the compiled binary:
{
"mcpServers": {
"CatFacts": {
"command": "/path/to/mcpgo"
}
}
}