Updated April 2026
Install Document Q&A MCP Server
Pick your client, copy the command, done.
Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1
Set the server up locally
Run this once to clone and prepare the server before adding it to Claude Code.
pip install -r requirements.txt2
Register it in Claude Code
After the local setup is done, run this command to point Claude Code at the built server.
claude mcp add -e "OPENAI_API_KEY=${OPENAI_API_KEY}" document-qa -- python "<FULL_PATH_TO_MCPDOCUMENTCHAT_MAIN>/dist/index.js"Replace <FULL_PATH_TO_MCPDOCUMENTCHAT_MAIN>/dist/index.js with the actual folder you prepared in step 1.
Required:
OPENAI_API_KEYEnvironment Variables
Set these before running Document Q&A MCP Server.
VariableDescriptionRequired
OPENAI_API_KEYAPI key for accessing OpenAI's GPT-4 and embedding servicesYesTry It Out
After setup, try these prompts with your AI agent:
→Analyze the uploaded PDF document and summarize the key findings.
→Based on the provided text files, what are the main arguments presented?
→Find the section in the markdown documentation that explains the installation process.
→Answer my question about the document content without using any outside information.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
OPENAI_API_KEY— API key for accessing OpenAI's GPT-4 and embedding services
Keep this setup from going cold
Save the docs, env vars, and workflow around Document Q&A MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.