mcp_quote_server
Enables users to list quote categories and retrieve random quotes from a local JSON file via MCP tools, with no API key required.
README
mcp_quote_server
MCP server implementation
Setup MCP configuration
Ensure the .mcp.json points to correct root folder of the project
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 |
1.1 — Smoke-test it (recommended)
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.