Skip to main content
Glama
productiveAnalytics

mcp_quote_server

mcp_quote_server

MCP server implementation

Setup MCP configuration

Ensure the .mcp.json points to correct root folder of the project

Related MCP server: Test MCP Server

Part 0: Run MCP Server

uv run python quote_server/quote_mcp_server.py

Part 1: The MCP server (no API key needed)

The server is quote_server/quote_mcp_server.py: ~65 lines built on the MCP Python SDK's FastMCP helper. It reads quotes.json and exposes two tools:

Tool

Input

Returns

list_categories

The categories that have quotes

get_quote

category

A random quote, or nothing if the category is unknown/empty

try_server.py launches the server over STDIO, speaks MCP to it, and prints a few sample calls. No LLM, no browser, no Node — just the mcp SDK you already installed:

uv run python try_server.py
Tools: list_categories, get_quote
Categories: creativity, engineering, humor, motivation, stoicism
A stoic quote: “We suffer more often in imagination than in reality.” — Seneca
Unknown category 'banana': '' (nothing, as expected)

That's a complete, working MCP server. Everything below is just pointing different hosts at it.

1.2 — Optional: the MCP Inspector

The MCP Inspector is Anthropic's official tool for poking at servers (needs Node/npx). It has two modes.

CLI mode (recommended — no browser, scriptable):

# list the tools
npx @modelcontextprotocol/inspector --cli \
  uv run python quote_server/quote_mcp_server.py \
  --method tools/list

# call a tool
npx @modelcontextprotocol/inspector --cli \
  uv run python quote_server/quote_mcp_server.py \
  --method tools/call --tool-name get_quote --tool-arg category=stoicism

The second command prints the quote as JSON. (If your npm registry rejects scoped packages, add --registry=https://registry.npmjs.org to npx.)

GUI mode:

Point the Inspector at our .mcp.json (the same file Claude Code uses) and name the server — it opens with the STDIO transport and command pre-filled:

npx @modelcontextprotocol/inspector --config .mcp.json --server quotes

A browser tab opens with Transport Type: STDIO, Command: uv, and our arguments already populated. Click Connect (top-left) — the status flips to Connected — then open the Tools tab, List Tools, and run them.

(The committed .mcp.json has an absolute --directory path. If you cloned the repo somewhere other than ~/git/summit-ai-mcp-demo, edit that path first — or regenerate the file with the Claude Code step in 3.1.)

Part 2: Claude Code

claude mcp add quotes --scope project \
  -- uv --directory ~/Dev/Python/mcp_quote_server run python quote_server/quote_mcp_server.py

This writes a .mcp.json in the repo (already committed here as a reference). Run claude in the repo and approve the project server when prompted, then:

> give me a quote about creativity

Verify anytime with inside claude with /mcp

Part 3: Graphify the codebase

Use lower-cost model like minimax3 using Ollama in Claude code

ollama launch claude --model minimax-m3:cloud

Graphify the codebase inside ~/Dev/Python/mcp_quote_server, using skill

/graphify .

The code-base graph would be available inside folder graphify-out

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A sample MCP server that fetches random inspirational quotes, programming jokes, and advice from public APIs. Provides three simple tools for testing and demonstration purposes.
  • A
    license
    B
    quality
    D
    maintenance
    Enables retrieval of random inspirational quotes from various categories including age, art, business, courage, education, friendship, happiness, leadership, and many more through the API Ninjas Quotes API.
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A lightweight MCP server that serves a curated collection of cat jokes to LLM clients, supporting tools for random jokes by category, search, and resource access.
    3
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Quotable MCP — wraps Quotable API (free, no auth)

  • Quotes MCP — citation-grade quote API for public-domain authors.

  • AnimeQuotes MCP — wraps animechan.io (free, no auth)

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/productiveAnalytics/mcp_quote_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server