Hosted MCP
Give any MCP-capable agent Qurren's tools with one URL and your API key. Nothing to install or keep up to date; calls are counted like the REST API.
Claude Code
Terminal
export QURREN_API_KEY=qk_live_… # from the dashboard → API keys
claude mcp add --transport http qurren https://api.qurren.com/mcp \
--header "Authorization: Bearer $QURREN_API_KEY"Add --scope project to share it through .mcp.json; keep the key itself in an environment variable, not in the file ("Authorization": "Bearer ${QURREN_API_KEY}" is expanded at runtime).
Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
"mcpServers": {
"qurren": {
"url": "https://api.qurren.com/mcp",
"headers": { "Authorization": "Bearer ${env:QURREN_API_KEY}" }
}
}
}Codex
~/.codex/config.toml
[mcp_servers.qurren]
url = "https://api.qurren.com/mcp"
bearer_token_env_var = "QURREN_API_KEY"Claude Agent SDK
TypeScript · npm install @anthropic-ai/claude-agent-sdk
import { query } from "@anthropic-ai/claude-agent-sdk";
for await (const message of query({
prompt: "Add zod to this project and use today's Claude model in src/llm.ts",
options: {
mcpServers: {
qurren: {
type: "http",
url: "https://api.qurren.com/mcp",
headers: { Authorization: `Bearer ${process.env.QURREN_API_KEY}` },
},
},
allowedTools: ["mcp__qurren__*"],
},
})) {
if (message.type === "result" && message.subtype === "success") console.log(message.result);
}Python · pip install claude-agent-sdk
import asyncio, os
from claude_agent_sdk import query, ClaudeAgentOptions, ResultMessage
async def main():
options = ClaudeAgentOptions(
mcp_servers={
"qurren": {
"type": "http",
"url": "https://api.qurren.com/mcp",
"headers": {"Authorization": f"Bearer {os.environ['QURREN_API_KEY']}"},
}
},
allowed_tools=["mcp__qurren__*"],
)
async for message in query(prompt="Which Node.js version should our Dockerfile use?", options=options):
if isinstance(message, ResultMessage) and message.subtype == "success":
print(message.result)
asyncio.run(main())Tools
| Tool | Counted as | What it does |
|---|---|---|
current_facts | /v1/facts | Today's values that agents usually get wrong from memory: the newest AI model names, current GitHub Actions versions, Node.js/Python LTS versions and matching Docker images, and model retirements. Call before writing any of these. |
check_package | /v1/packages | Get the current version of an npm or Python package, the exact install command, and the mistakes coding agents commonly make with it. Call before adding or upgrading any dependency. |
check_project | /v1/check | Check a project's manifests and config (package.json, requirements.txt, pyproject.toml, GitHub workflows, Dockerfiles, source using AI models) for outdated majors, retired models, old Actions and end-of-life runtimes. Send the files' contents. Call before finishing a task that touched dependencies. |
check_request | /v1/requests/check | Check a Claude or OpenAI API request body before running it: accepted, or the error the API would return, plus the cost per call. Nothing is sent to the provider. |
- Each
tools/callis one counted call at the same price as REST, with the same free calls, limits and dashboard.initialize,tools/listandpingare free. - The hosted
check_projecttakes the files' contents (files: path → text) because it can't read your disk. To check a folder locally instead, run the open-source server:npx -y qurren mcp. - Errors come back as tool results with
isError: trueand the error code; a missing or revoked key is HTTP 401.
Try it with curl
curl -s https://api.qurren.com/mcp \
-H "Authorization: Bearer $QURREN_API_KEY" -H "content-type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_package","arguments":{"name":"zod"}}}'