Labsco
MCP SERVER

Simple Animal Data MCP Server

by huitmj

Three fixed sentences about cats, dogs and birds, wired up as a complete MCP server small enough to read in one sitting.

Summary
A server small enough to read in full.

Every answer it gives is hard-coded, so nothing here is useful as an animal reference. What it is good for is seeing exactly how a tool gets declared and called, with nothing else in the file to distract you.

What it is

A minimal Python server. It exposes three tools, one per animal, and each returns a single fixed sentence — no API call, no database, no configuration beyond the path to the file.

What you get
  • get_cat_info returns a fixed one-line description of cats
  • get_dog_info and get_bird_info do the same for dogs and birds
  • One server.py, a requirements file and a working Claude Desktop config block to copy
Requirements

Python 3 with a virtual environment and the packages in requirements.txt. No account, no key, no network access. The sample config points at an absolute path on the author's machine — swap in your own project directory before you restart the client.

Setup effort

One command — curl -X POST http://your-server.com:8000/mcp -H Content-Type: application/json -d @-