OpenAI Text Embeddings API
by OpenAI Embeddings
Create text embeddings using OpenAI text-embedding-3-small and text-embedding-3-large models for semantic search, clustering, and recommendations.
by Seren Embed
Text embedding pipeline service that fetches data from x402 publishers, chunks text, generates embeddings via OpenAI, and writes vectors to PostgreSQL/pgvector destinations.
Install the x402 MCP server to let your AI agent access this data with automatic USDC payments on Base.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["@serendb/x402-mcp-server"],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Replace 0x... with your wallet private key.
claude mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
claude mcp add x402 ` -e X402_GATEWAY_URL=https://api.serendb.com ` -e WALLET_PRIVATE_KEY=0x... ` '--' npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
gemini mcp add x402 \ -e X402_GATEWAY_URL=https://api.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key.
codex mcp add x402 \ --env X402_GATEWAY_URL=https://api.serendb.com \ --env WALLET_PRIVATE_KEY=0x... \ -- npx -y @serendb/x402-mcp-server
Important: Cursor has a 60s timeout. Pre-install globally first: npm install -g @serendb/x402-mcp-server
First, install globally to avoid timeout issues:
npm install -g @serendb/x402-mcp-server
Then add to ~/.cursor/mcp.json:
{
"mcpServers": {
"x402": {
"command": "x402-mcp-server",
"args": [],
"env": {
"X402_GATEWAY_URL": "https://api.serendb.com",
"WALLET_PRIVATE_KEY": "0x..."
}
}
}
}Also works with Windsurf, Zed, and other MCP-compatible clients. See the full setup guide for details.
Access data directly via HTTP using the x402 payment protocol.
HTTP 402 with payment requirements (amount, wallet, EIP-712 data)X-PAYMENT header containing the signaturecurl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-d '{
"publisherId": "763b3ea7-c00e-46c5-a810-33af9eb51bbc",
"agentWallet": "0xYourWalletAddress",
"request": {
"method": "GET",
"path": "/endpoint"
}
}'This returns 402 Payment Required with the payment details you need to sign.
After signing the EIP-712 authorization, add the base64-encoded signature:
curl -X POST https://api.serendb.com/agent/api \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signature>" \
-d '{ ... }'Prepaid balance
by OpenAI Embeddings
Create text embeddings using OpenAI text-embedding-3-small and text-embedding-3-large models for semantic search, clustering, and recommendations.
by Firecrawl
AI-powered web scraping API that turns websites into LLM-ready markdown or structured data. Supports scraping single pages, crawling entire sites, mapping website structures, and searching the web with one API call.
by Perplexity
Perplexity is an AI-powered search engine that provides accurate, up-to-date answers with citations. Access raw web search results or grounded LLM responses through Sonar models.