Skip to content

Pearl-com/mcp-client-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MCP Client Demo

This Python sample shows how to use the Pearl MCP server with the OpenAI Agents SDK. The sample gets an AI answer to a legal question and then a second opinion from a human lawyer. The MCP server supports lawyers, doctors, mechanics, veternarians, tech support and hundreds of other professional specialties. You can verify information and directly interact wtih professionals via MCP or REST API.

To get started create a virtual environment and install the Agents SDK:

pip install openai-agents

Your OpenAI API key should be set in an environment variable called OPENAI_API_KEY (or modify the code to pass this directly). You also need a Pearl API Key, which you can obtain here.

About

Use the Pearl expert MCP server with the OpenAI Agent SDK

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages