MCP.so
登录

whois

@PalNilsson

关于 whois

A minimal example of an MCP agent and server that can be used to ask an AI about who someone is

基本信息

分类

其他

许可证

Apache-2.0 license

运行时

python

传输方式

stdio

发布者

PalNilsson

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is whois?

whois is a minimal MCP (Model Context Protocol) agent and server that lets you ask an AI about a person’s identity. It is designed as a simple example for developers exploring MCP-based agent architectures.

How to use whois?

Install the dependencies with pip install -r requirements.txt, then set the required API keys in your environment (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY, and optionally LLAMA_API_URL). Start the server with uvicorn server:app --reload, then run the agent with python agent.py "<name>" <provider> (e.g., python agent.py "Albert Einstein" openai).

Key features of whois

  • Supports multiple AI providers: Anthropic, OpenAI, Gemini, Llama (Ollama)
  • Minimal MCP agent and server implementation
  • Queries an AI by person name
  • Uses environment variables for secure API key management
  • Runs as a lightweight ASGI server via uvicorn

Use cases of whois

  • Asking an AI for a short biography of any person
  • Testing and prototyping MCP agent workflows
  • Comparing answers about the same person from different AI providers
  • Learning how to build a minimal MCP-based client–server setup

FAQ from whois

What API keys are needed?

You need ANTHROPIC_API_KEY, OPENAI_API_KEY, and GEMINI_API_KEY set in your environment. For Llama support, also set LLAMA_API_URL (defaults to http://localhost:11434/api/generate).

Which AI providers are supported?

The agent supports Anthropic, OpenAI, Gemini, and Llama (via Ollama). The provider is specified as the second argument when running agent.py (e.g., anthropic, openai, gemini, llama).

How do I run the server?

After installing dependencies, run uvicorn server:app --reload in the project directory.

How do I run the agent?

Execute python agent.py "<name>" <provider> where <name> is the person you want to ask about and <provider> is one of openai, anthropic, gemini, or llama.

评论

其他 分类下的更多 MCP 服务器