get_cat_infoLABSCO 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 <YOUR_SERVER_URL>:8000/mcp -H Content-Type: application/json -d @-
USE CASES
Seeing what a tool call actually looks like
One file, three tools, fixed answers — the whole path from client request to returned text is visible at once.
Checking a client is wired up at all
Point a client at it and ask about dogs. If the fixed sentence comes back, the config path, the transport and the tool registration all work.
Starting your own server from something that runs
Replace the fixed strings with real calls and you have a skeleton that already talks to a client.
3 tools
Listed in project docs. Your client may show a different list.
get_dog_infoget_bird_infoBEFORE YOU INSTALL
What to know first
Tools you get
3 tools named in the project's documentation.
Requires
curl on PATH
Where it runs
Both documented setups run the server on your machine.
INSTALLATION
Connect your client
Server setup
curl -X POST <YOUR_SERVER_URL>:8000/mcp -H Content-Type: application/json -d @-MCP Clients
Claude Desktop — stdio
{
"mcpServers": {
"animal-data": {
"command": "python",
"args": [
"/Users/james/Work/mcp/simple/server.py"
],
"cwd": "/Users/james/Work/mcp/simple",
"env": {
"PATH": "/Users/james/Work/mcp/simple/venv/bin:/usr/bin:/bin"
}
}
}
}The path /Users/james in the block above is on the machine of whoever wrote it, not on yours.
Claude Desktop — HTTP
{
"mcpServers": {
"animal-data-http": {
"command": "curl",
"args": [
"-X",
"POST",
"<YOUR_SERVER_URL>:8000/mcp",
"-H",
"Content-Type: application/json",
"-d",
"@-"
]
}
}
}The path /Users/james in the block above is on the machine of whoever wrote it, not on yours.