MCP.so
登录

whois MCP Server

@PalNilsson

基本信息

分类

其他

许可证

Apache-2.0 license

传输方式

stdio

作者

PalNilsson

关于 whois MCP Server

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

whois MCP Server 配置

暂无标准配置

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

代码仓库

whois MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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`).

2

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`).

3

How do I run the server?

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

4

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 服务器