contactapi
Enables AI clients to manage contacts through CRUD operations (list, get, create/upsert by email, update, delete) with OAuth 2.1 authentication.
README
contactapi
An open-source API to save contacts. Send a POST with an email and any other
JSON fields you want, and they get saved as-is. Manage them with simple CRUD.
Built with Hono and deployed on Vercel.
API overview
The base URL is https://contactapi.dev and every request carries your API key
as a Bearer token:
Authorization: Bearer YOUR_KEY
| Method | Path | Key | Description |
|---|---|---|---|
POST |
/v1/contacts |
secret or publishable | Create (or upsert) a contact by email |
GET |
/v1/contacts |
secret | List contacts, paginated |
GET |
/v1/contacts/:id |
secret | Fetch a single contact |
PATCH |
/v1/contacts/:id |
secret | Update a contact |
DELETE |
/v1/contacts/:id |
secret | Delete a contact |
Contacts are keyed by email — creating one whose email already exists updates it
in place rather than duplicating it. Full reference lives on the landing page and
in /llms.txt.
There are two kinds of key:
ck_secret_…— secret key, for your backend. Full access to every endpoint.ck_pub_…— publishable key, for the browser. Can only create contacts and is locked to your domains.
MCP server
AI clients (Claude Desktop, claude.ai custom connectors, Cursor, the MCP Inspector) can manage your contacts through an MCP server at:
https://contactapi.dev/mcp
Auth is OAuth 2.1 with dynamic client registration — point a client at the
URL and it discovers the authorization server, registers itself, and sends you to
log in and approve access; no API key to copy. The server exposes five tools that
mirror the REST API: list_contacts, get_contact, create_contact
(upsert-by-email), update_contact, and delete_contact. Everything is scoped to
the account you log in as.
The OAuth provider is Better Auth's mcp plugin
(src/auth.ts); the tools and endpoint wiring live in
src/mcp/server.ts and src/index.ts.
Development
Prerequisites: Vercel CLI installed globally.
npm install
vc dev
open http://localhost:3000
Build
npm install
vc build
Deploy
npm install
vc deploy
License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.