apiverve-mcp 1.1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 APIVerve
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,319 @@
1
+ Metadata-Version: 2.4
2
+ Name: apiverve-mcp
3
+ Version: 1.1.3
4
+ Summary: APIVerve MCP Server - Access 388+ APIs through the Model Context Protocol
5
+ Home-page: https://apiverve.com
6
+ Author: APIVerve
7
+ Author-email: APIVerve <hello@apiverve.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://apiverve.com
10
+ Project-URL: Documentation, https://docs.apiverve.com
11
+ Project-URL: Repository, https://github.com/apiverve/mcp-server
12
+ Project-URL: Issues, https://github.com/apiverve/mcp-server/issues
13
+ Keywords: mcp,mcp-server,model-context-protocol,apiverve,api,claude,chatgpt,ai,llm
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Requires-Python: >=3.8
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: author
26
+ Dynamic: home-page
27
+ Dynamic: license-file
28
+ Dynamic: requires-python
29
+
30
+ # APIVerve MCP Server
31
+
32
+ <div align="center">
33
+
34
+ <img src="https://apiverve.com/images/favicon.png" alt="APIVerve Logo" width="80" />
35
+
36
+ **388+ APIs accessible through the Model Context Protocol**
37
+
38
+ [![npm version](https://img.shields.io/npm/v/@apiverve/mcp-server)](https://www.npmjs.com/package/@apiverve/mcp-server)
39
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-mcp)](https://pypi.org/project/apiverve-mcp/)
40
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
41
+ [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)
42
+
43
+ [Website](https://apiverve.com) • [Documentation](https://docs.apiverve.com) • [API Explorer](https://apiverve.com/marketplace) • [Report Bug](https://github.com/apiverve/mcp-server/issues)
44
+
45
+ </div>
46
+
47
+ ## 🚀 Overview
48
+
49
+ The **APIVerve MCP Server** provides seamless access to 388+ production-ready APIs through the [Model Context Protocol](https://modelcontextprotocol.io). Connect AI assistants like Claude, ChatGPT, and other MCP-compatible clients to a vast ecosystem of data and functionality.
50
+
51
+ ### ✨ Features
52
+
53
+ - 🎯 **388+ APIs** - Weather, news, geocoding, validation, conversion, and more
54
+ - 🔐 **OAuth 2.0 Authentication** - Secure, industry-standard authentication
55
+ - 📊 **Token-Based Pricing** - Pay only for what you use
56
+ - 🚀 **High Performance** - Cloud-hosted with 99%+ uptime
57
+ - 📖 **Rich Documentation** - Complete API documentation with examples
58
+ - 🔄 **Auto-Updated** - Always access the latest API features
59
+
60
+ ## 📦 Installation
61
+
62
+ APIVerve is a **remote** MCP server — there is nothing to run locally. Point your client at the URL below and it will handle sign-in for you.
63
+
64
+ ### One-click install
65
+
66
+ [![Add APIVerve to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=apiverve&config=eyJ1cmwiOiJodHRwczovL2FwaS5hcGl2ZXJ2ZS5jb20vdjEvbWNwIn0%3D) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=apiverve&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.apiverve.com%2Fv1%2Fmcp%22%7D)
67
+
68
+ This repo is also a Cursor plugin (`.cursor-plugin/`) and a Gemini CLI extension (`gemini-extension.json`): each adds the server plus a skill that tells the agent when and how to use the tools.
69
+
70
+ **Gemini CLI:**
71
+
72
+ ```bash
73
+ gemini extensions install https://github.com/apiverve/mcp-server
74
+ ```
75
+
76
+ ### Quick setup
77
+
78
+ ```bash
79
+ npx @apiverve/mcp-server
80
+ ```
81
+
82
+ Configures VS Code and Cursor, and prints the manual step for Claude Desktop. Target one client with `npx @apiverve/mcp-server cursor`.
83
+
84
+ For headless setups, pass a key instead of using sign-in:
85
+
86
+ ```bash
87
+ npx @apiverve/mcp-server --api-key YOUR_API_KEY
88
+ ```
89
+
90
+ Python users can do the same with `pip install apiverve-mcp` then `apiverve-mcp` (or `apiverve-mcp --api-key YOUR_API_KEY`).
91
+
92
+ ### Manual setup
93
+
94
+ **Claude Desktop** — remote servers are added through the app, not a config file:
95
+
96
+ > Settings → Connectors → Add custom connector → `https://api.apiverve.com/v1/mcp`
97
+
98
+ **VS Code** (`mcp.json`):
99
+ ```json
100
+ {
101
+ "servers": {
102
+ "apiverve": {
103
+ "type": "http",
104
+ "url": "https://api.apiverve.com/v1/mcp"
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ **Cursor** (`~/.cursor/mcp.json`):
111
+ ```json
112
+ {
113
+ "mcpServers": {
114
+ "apiverve": {
115
+ "url": "https://api.apiverve.com/v1/mcp"
116
+ }
117
+ }
118
+ }
119
+ ```
120
+
121
+ ## 🔑 Authentication
122
+
123
+ Two ways in — pick whichever fits:
124
+
125
+ **OAuth (default, recommended)** — leave the config as shown above. On first use the server returns an authorization challenge and your client walks you through sign-in. No key is stored on disk, and access can be revoked from the dashboard.
126
+
127
+ **API key** — add your key as a header. Useful for CI and headless environments where no browser is available:
128
+
129
+ ```json
130
+ {
131
+ "mcpServers": {
132
+ "apiverve": {
133
+ "url": "https://api.apiverve.com/v1/mcp",
134
+ "headers": { "x-api-key": "YOUR_API_KEY" }
135
+ }
136
+ }
137
+ }
138
+ ```
139
+
140
+ Claude Desktop's Custom Connectors cannot send custom headers, so it is OAuth-only.
141
+
142
+ Get a key at [https://apiverve.com](https://apiverve.com). **Free tier available** — no credit card required to start!
143
+
144
+ ## 🎯 Available APIs
145
+
146
+ <details>
147
+ <summary><b>Click to see all 388+ available APIs</b></summary>
148
+
149
+ ### 🌤️ Weather & Environment
150
+ - Weather Forecast
151
+ - Air Quality
152
+ - Marine Weather
153
+ - UV Index
154
+ - Weather Seasons
155
+ - And more...
156
+
157
+ ### 🌍 Location & Geocoding
158
+ - Reverse Geocoding
159
+ - IP Lookup
160
+ - Timezone Lookup
161
+ - Airports Lookup
162
+ - Distance Calculator
163
+ - And more...
164
+
165
+ ### ✅ Validation & Verification
166
+ - Email Validator
167
+ - Phone Number Validator
168
+ - Domain Availability
169
+ - SSL Certificate Checker
170
+ - And more...
171
+
172
+ ### 🔄 Conversion & Calculation
173
+ - Currency Converter
174
+ - Unit Converter
175
+ - Date Calculator
176
+ - BMI Calculator
177
+ - And more...
178
+
179
+ ### 📰 News & Content
180
+ - World News
181
+ - RSS to JSON
182
+ - Web Scraper
183
+ - Metadata Extractor
184
+ - And more...
185
+
186
+ ### 🎲 Random Data Generators
187
+ - Random User Generator
188
+ - Password Generator
189
+ - Lorem Ipsum Generator
190
+ - And more...
191
+
192
+ **[See complete API list →](https://apiverve.com/marketplace)**
193
+
194
+ </details>
195
+
196
+ ## 💡 Usage Examples
197
+
198
+ Once configured, use APIs naturally in conversation:
199
+
200
+ ### With Claude Desktop
201
+
202
+ ```
203
+ User: What's the weather in San Francisco?
204
+ Claude: [Uses Weather API]
205
+
206
+ User: Validate this email: test@example.com
207
+ Claude: [Uses Email Validator API]
208
+
209
+ User: Convert 100 USD to EUR
210
+ Claude: [Uses Currency Converter API]
211
+ ```
212
+
213
+ ### Programmatic Usage (Python)
214
+
215
+ Connect straight to the remote server — no local process involved:
216
+
217
+ ```python
218
+ from mcp import ClientSession
219
+ from mcp.client.streamable_http import streamablehttp_client
220
+
221
+ url = "https://api.apiverve.com/v1/mcp"
222
+ headers = {"x-api-key": "YOUR_API_KEY"}
223
+
224
+ async with streamablehttp_client(url, headers=headers) as (read, write, _):
225
+ async with ClientSession(read, write) as session:
226
+ await session.initialize()
227
+
228
+ # List available tools
229
+ tools = await session.list_tools()
230
+
231
+ # Call a tool
232
+ result = await session.call_tool("emailvalidator", {
233
+ "email": "test@example.com"
234
+ })
235
+ ```
236
+
237
+ ## 📊 Pricing
238
+
239
+ APIVerve uses a flexible token-based pricing model with multiple tiers to fit your needs:
240
+
241
+ - **Free Tier Available** - Start building immediately, no credit card required
242
+ - **Pay-as-you-go** - Scale up as your usage grows
243
+ - **Enterprise Plans** - Custom solutions for high-volume users
244
+
245
+ **[View Pricing Plans →](https://apiverve.com/pricing)**
246
+
247
+ Credit costs vary by API complexity - simple APIs start at 1 credit per call.
248
+
249
+ ## 🛠️ Technical Details
250
+
251
+ ### Server Information
252
+
253
+ - **Transport**: Streamable HTTP
254
+ - **Protocol**: MCP 2025-06-18 (negotiates down to 2025-03-26 and 2024-11-05)
255
+ - **Authentication**: OAuth 2.0 with PKCE, or `x-api-key` header
256
+ - **Base URL**: `https://api.apiverve.com/v1/mcp`
257
+ - **API Version**: 1.1.3
258
+
259
+ ### OAuth Endpoints
260
+
261
+ - **Discovery**: `https://api.apiverve.com/.well-known/openid-configuration`
262
+ - **Authorization**: `https://api.apiverve.com/authorize`
263
+ - **Token**: `https://api.apiverve.com/token`
264
+ - **Registration**: `https://api.apiverve.com/register` (Dynamic client registration)
265
+
266
+ ### Tool Schema
267
+
268
+ Each API is exposed as an MCP tool with:
269
+ - **name**: API identifier (e.g., `emailvalidator`)
270
+ - **description**: Human-readable description with token cost
271
+ - **inputSchema**: JSON Schema defining required/optional parameters
272
+
273
+ ## 🔧 Troubleshooting
274
+
275
+ ### Connection Issues
276
+
277
+ If you see authentication errors:
278
+
279
+ 1. Check your API key at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
280
+ 2. Ensure OAuth redirect URI is correct
281
+ 3. Try re-authorizing the connection
282
+
283
+ ### Token Limits
284
+
285
+ If you hit token limits:
286
+ - Check usage at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
287
+ - Upgrade your plan
288
+ - Contact support for enterprise options
289
+
290
+ ## 📚 Documentation
291
+
292
+ - **API Documentation**: [https://docs.apiverve.com](https://docs.apiverve.com)
293
+ - **MCP Specification**: [modelcontextprotocol.io](https://modelcontextprotocol.io)
294
+ - **Getting Started Guide**: [https://apiverve.com/docs/getting-started](https://apiverve.com/docs/getting-started)
295
+
296
+ ## 🤝 Support
297
+
298
+ - **GitHub Issues**: [apiverve/mcp-server/issues](https://github.com/apiverve/mcp-server/issues)
299
+ - **Email**: hello@apiverve.com
300
+ - **Privacy Policy**: [apiverve.com/privacy](https://apiverve.com/privacy)
301
+ - **Discord**: [Join our community](https://apiverve.com/discord)
302
+
303
+ ## 📄 License
304
+
305
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
306
+
307
+ ## 🌟 Star Us!
308
+
309
+ If you find this useful, please consider starring the repo on GitHub!
310
+
311
+ ---
312
+
313
+ <div align="center">
314
+
315
+ **Built with ❤️ by [APIVerve](https://apiverve.com)**
316
+
317
+ [Website](https://apiverve.com) • [Dashboard](https://apiverve.com/dashboard) • [API Explorer](https://apiverve.com/marketplace) • [Documentation](https://docs.apiverve.com)
318
+
319
+ </div>
@@ -0,0 +1,290 @@
1
+ # APIVerve MCP Server
2
+
3
+ <div align="center">
4
+
5
+ <img src="https://apiverve.com/images/favicon.png" alt="APIVerve Logo" width="80" />
6
+
7
+ **388+ APIs accessible through the Model Context Protocol**
8
+
9
+ [![npm version](https://img.shields.io/npm/v/@apiverve/mcp-server)](https://www.npmjs.com/package/@apiverve/mcp-server)
10
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-mcp)](https://pypi.org/project/apiverve-mcp/)
11
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
12
+ [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)
13
+
14
+ [Website](https://apiverve.com) • [Documentation](https://docs.apiverve.com) • [API Explorer](https://apiverve.com/marketplace) • [Report Bug](https://github.com/apiverve/mcp-server/issues)
15
+
16
+ </div>
17
+
18
+ ## 🚀 Overview
19
+
20
+ The **APIVerve MCP Server** provides seamless access to 388+ production-ready APIs through the [Model Context Protocol](https://modelcontextprotocol.io). Connect AI assistants like Claude, ChatGPT, and other MCP-compatible clients to a vast ecosystem of data and functionality.
21
+
22
+ ### ✨ Features
23
+
24
+ - 🎯 **388+ APIs** - Weather, news, geocoding, validation, conversion, and more
25
+ - 🔐 **OAuth 2.0 Authentication** - Secure, industry-standard authentication
26
+ - 📊 **Token-Based Pricing** - Pay only for what you use
27
+ - 🚀 **High Performance** - Cloud-hosted with 99%+ uptime
28
+ - 📖 **Rich Documentation** - Complete API documentation with examples
29
+ - 🔄 **Auto-Updated** - Always access the latest API features
30
+
31
+ ## 📦 Installation
32
+
33
+ APIVerve is a **remote** MCP server — there is nothing to run locally. Point your client at the URL below and it will handle sign-in for you.
34
+
35
+ ### One-click install
36
+
37
+ [![Add APIVerve to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=apiverve&config=eyJ1cmwiOiJodHRwczovL2FwaS5hcGl2ZXJ2ZS5jb20vdjEvbWNwIn0%3D) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=apiverve&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.apiverve.com%2Fv1%2Fmcp%22%7D)
38
+
39
+ This repo is also a Cursor plugin (`.cursor-plugin/`) and a Gemini CLI extension (`gemini-extension.json`): each adds the server plus a skill that tells the agent when and how to use the tools.
40
+
41
+ **Gemini CLI:**
42
+
43
+ ```bash
44
+ gemini extensions install https://github.com/apiverve/mcp-server
45
+ ```
46
+
47
+ ### Quick setup
48
+
49
+ ```bash
50
+ npx @apiverve/mcp-server
51
+ ```
52
+
53
+ Configures VS Code and Cursor, and prints the manual step for Claude Desktop. Target one client with `npx @apiverve/mcp-server cursor`.
54
+
55
+ For headless setups, pass a key instead of using sign-in:
56
+
57
+ ```bash
58
+ npx @apiverve/mcp-server --api-key YOUR_API_KEY
59
+ ```
60
+
61
+ Python users can do the same with `pip install apiverve-mcp` then `apiverve-mcp` (or `apiverve-mcp --api-key YOUR_API_KEY`).
62
+
63
+ ### Manual setup
64
+
65
+ **Claude Desktop** — remote servers are added through the app, not a config file:
66
+
67
+ > Settings → Connectors → Add custom connector → `https://api.apiverve.com/v1/mcp`
68
+
69
+ **VS Code** (`mcp.json`):
70
+ ```json
71
+ {
72
+ "servers": {
73
+ "apiverve": {
74
+ "type": "http",
75
+ "url": "https://api.apiverve.com/v1/mcp"
76
+ }
77
+ }
78
+ }
79
+ ```
80
+
81
+ **Cursor** (`~/.cursor/mcp.json`):
82
+ ```json
83
+ {
84
+ "mcpServers": {
85
+ "apiverve": {
86
+ "url": "https://api.apiverve.com/v1/mcp"
87
+ }
88
+ }
89
+ }
90
+ ```
91
+
92
+ ## 🔑 Authentication
93
+
94
+ Two ways in — pick whichever fits:
95
+
96
+ **OAuth (default, recommended)** — leave the config as shown above. On first use the server returns an authorization challenge and your client walks you through sign-in. No key is stored on disk, and access can be revoked from the dashboard.
97
+
98
+ **API key** — add your key as a header. Useful for CI and headless environments where no browser is available:
99
+
100
+ ```json
101
+ {
102
+ "mcpServers": {
103
+ "apiverve": {
104
+ "url": "https://api.apiverve.com/v1/mcp",
105
+ "headers": { "x-api-key": "YOUR_API_KEY" }
106
+ }
107
+ }
108
+ }
109
+ ```
110
+
111
+ Claude Desktop's Custom Connectors cannot send custom headers, so it is OAuth-only.
112
+
113
+ Get a key at [https://apiverve.com](https://apiverve.com). **Free tier available** — no credit card required to start!
114
+
115
+ ## 🎯 Available APIs
116
+
117
+ <details>
118
+ <summary><b>Click to see all 388+ available APIs</b></summary>
119
+
120
+ ### 🌤️ Weather & Environment
121
+ - Weather Forecast
122
+ - Air Quality
123
+ - Marine Weather
124
+ - UV Index
125
+ - Weather Seasons
126
+ - And more...
127
+
128
+ ### 🌍 Location & Geocoding
129
+ - Reverse Geocoding
130
+ - IP Lookup
131
+ - Timezone Lookup
132
+ - Airports Lookup
133
+ - Distance Calculator
134
+ - And more...
135
+
136
+ ### ✅ Validation & Verification
137
+ - Email Validator
138
+ - Phone Number Validator
139
+ - Domain Availability
140
+ - SSL Certificate Checker
141
+ - And more...
142
+
143
+ ### 🔄 Conversion & Calculation
144
+ - Currency Converter
145
+ - Unit Converter
146
+ - Date Calculator
147
+ - BMI Calculator
148
+ - And more...
149
+
150
+ ### 📰 News & Content
151
+ - World News
152
+ - RSS to JSON
153
+ - Web Scraper
154
+ - Metadata Extractor
155
+ - And more...
156
+
157
+ ### 🎲 Random Data Generators
158
+ - Random User Generator
159
+ - Password Generator
160
+ - Lorem Ipsum Generator
161
+ - And more...
162
+
163
+ **[See complete API list →](https://apiverve.com/marketplace)**
164
+
165
+ </details>
166
+
167
+ ## 💡 Usage Examples
168
+
169
+ Once configured, use APIs naturally in conversation:
170
+
171
+ ### With Claude Desktop
172
+
173
+ ```
174
+ User: What's the weather in San Francisco?
175
+ Claude: [Uses Weather API]
176
+
177
+ User: Validate this email: test@example.com
178
+ Claude: [Uses Email Validator API]
179
+
180
+ User: Convert 100 USD to EUR
181
+ Claude: [Uses Currency Converter API]
182
+ ```
183
+
184
+ ### Programmatic Usage (Python)
185
+
186
+ Connect straight to the remote server — no local process involved:
187
+
188
+ ```python
189
+ from mcp import ClientSession
190
+ from mcp.client.streamable_http import streamablehttp_client
191
+
192
+ url = "https://api.apiverve.com/v1/mcp"
193
+ headers = {"x-api-key": "YOUR_API_KEY"}
194
+
195
+ async with streamablehttp_client(url, headers=headers) as (read, write, _):
196
+ async with ClientSession(read, write) as session:
197
+ await session.initialize()
198
+
199
+ # List available tools
200
+ tools = await session.list_tools()
201
+
202
+ # Call a tool
203
+ result = await session.call_tool("emailvalidator", {
204
+ "email": "test@example.com"
205
+ })
206
+ ```
207
+
208
+ ## 📊 Pricing
209
+
210
+ APIVerve uses a flexible token-based pricing model with multiple tiers to fit your needs:
211
+
212
+ - **Free Tier Available** - Start building immediately, no credit card required
213
+ - **Pay-as-you-go** - Scale up as your usage grows
214
+ - **Enterprise Plans** - Custom solutions for high-volume users
215
+
216
+ **[View Pricing Plans →](https://apiverve.com/pricing)**
217
+
218
+ Credit costs vary by API complexity - simple APIs start at 1 credit per call.
219
+
220
+ ## 🛠️ Technical Details
221
+
222
+ ### Server Information
223
+
224
+ - **Transport**: Streamable HTTP
225
+ - **Protocol**: MCP 2025-06-18 (negotiates down to 2025-03-26 and 2024-11-05)
226
+ - **Authentication**: OAuth 2.0 with PKCE, or `x-api-key` header
227
+ - **Base URL**: `https://api.apiverve.com/v1/mcp`
228
+ - **API Version**: 1.1.3
229
+
230
+ ### OAuth Endpoints
231
+
232
+ - **Discovery**: `https://api.apiverve.com/.well-known/openid-configuration`
233
+ - **Authorization**: `https://api.apiverve.com/authorize`
234
+ - **Token**: `https://api.apiverve.com/token`
235
+ - **Registration**: `https://api.apiverve.com/register` (Dynamic client registration)
236
+
237
+ ### Tool Schema
238
+
239
+ Each API is exposed as an MCP tool with:
240
+ - **name**: API identifier (e.g., `emailvalidator`)
241
+ - **description**: Human-readable description with token cost
242
+ - **inputSchema**: JSON Schema defining required/optional parameters
243
+
244
+ ## 🔧 Troubleshooting
245
+
246
+ ### Connection Issues
247
+
248
+ If you see authentication errors:
249
+
250
+ 1. Check your API key at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
251
+ 2. Ensure OAuth redirect URI is correct
252
+ 3. Try re-authorizing the connection
253
+
254
+ ### Token Limits
255
+
256
+ If you hit token limits:
257
+ - Check usage at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
258
+ - Upgrade your plan
259
+ - Contact support for enterprise options
260
+
261
+ ## 📚 Documentation
262
+
263
+ - **API Documentation**: [https://docs.apiverve.com](https://docs.apiverve.com)
264
+ - **MCP Specification**: [modelcontextprotocol.io](https://modelcontextprotocol.io)
265
+ - **Getting Started Guide**: [https://apiverve.com/docs/getting-started](https://apiverve.com/docs/getting-started)
266
+
267
+ ## 🤝 Support
268
+
269
+ - **GitHub Issues**: [apiverve/mcp-server/issues](https://github.com/apiverve/mcp-server/issues)
270
+ - **Email**: hello@apiverve.com
271
+ - **Privacy Policy**: [apiverve.com/privacy](https://apiverve.com/privacy)
272
+ - **Discord**: [Join our community](https://apiverve.com/discord)
273
+
274
+ ## 📄 License
275
+
276
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
277
+
278
+ ## 🌟 Star Us!
279
+
280
+ If you find this useful, please consider starring the repo on GitHub!
281
+
282
+ ---
283
+
284
+ <div align="center">
285
+
286
+ **Built with ❤️ by [APIVerve](https://apiverve.com)**
287
+
288
+ [Website](https://apiverve.com) • [Dashboard](https://apiverve.com/dashboard) • [API Explorer](https://apiverve.com/marketplace) • [Documentation](https://docs.apiverve.com)
289
+
290
+ </div>
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["setuptools>=45", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "apiverve-mcp"
7
+ version = "1.1.3"
8
+ description = "APIVerve MCP Server - Access 388+ APIs through the Model Context Protocol"
9
+ readme = "README.md"
10
+ authors = [{name = "APIVerve", email = "hello@apiverve.com"}]
11
+ license = {text = "MIT"}
12
+ classifiers = [
13
+ "Development Status :: 5 - Production/Stable",
14
+ "Intended Audience :: Developers",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.8",
18
+ "Programming Language :: Python :: 3.9",
19
+ "Programming Language :: Python :: 3.10",
20
+ "Programming Language :: Python :: 3.11",
21
+ ]
22
+ keywords = ["mcp", "mcp-server", "model-context-protocol", "apiverve", "api", "claude", "chatgpt", "ai", "llm"]
23
+ requires-python = ">=3.8"
24
+
25
+ [project.urls]
26
+ Homepage = "https://apiverve.com"
27
+ Documentation = "https://docs.apiverve.com"
28
+ Repository = "https://github.com/apiverve/mcp-server"
29
+ Issues = "https://github.com/apiverve/mcp-server/issues"
30
+
31
+ [project.scripts]
32
+ apiverve-mcp = "apiverve_mcp.__main__:main"
33
+
34
+ [tool.setuptools.packages.find]
35
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,37 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='apiverve-mcp',
5
+ version='1.1.3',
6
+ description='APIVerve MCP Server - Access 388+ APIs through the Model Context Protocol',
7
+ long_description=open('README.md', encoding='utf-8').read(),
8
+ long_description_content_type='text/markdown',
9
+ author='APIVerve',
10
+ author_email='hello@apiverve.com',
11
+ url='https://apiverve.com',
12
+ project_urls={
13
+ 'Documentation': 'https://docs.apiverve.com',
14
+ 'Source': 'https://github.com/apiverve/mcp-server',
15
+ 'Tracker': 'https://github.com/apiverve/mcp-server/issues',
16
+ },
17
+ packages=find_packages(where='src'),
18
+ package_dir={'': 'src'},
19
+ entry_points={
20
+ 'console_scripts': [
21
+ 'apiverve-mcp=apiverve_mcp.__main__:main',
22
+ ],
23
+ },
24
+ classifiers=[
25
+ 'Development Status :: 5 - Production/Stable',
26
+ 'Intended Audience :: Developers',
27
+ 'License :: OSI Approved :: MIT License',
28
+ 'Programming Language :: Python :: 3',
29
+ 'Programming Language :: Python :: 3.8',
30
+ 'Programming Language :: Python :: 3.9',
31
+ 'Programming Language :: Python :: 3.10',
32
+ 'Programming Language :: Python :: 3.11',
33
+ 'Topic :: Software Development :: Libraries :: Python Modules',
34
+ ],
35
+ python_requires='>=3.8',
36
+ keywords='mcp mcp-server model-context-protocol apiverve api claude chatgpt ai llm',
37
+ )
@@ -0,0 +1,175 @@
1
+ """
2
+ APIVerve MCP Server - client configuration for Python
3
+ """
4
+
5
+ import json
6
+ import os
7
+ import platform
8
+ from pathlib import Path
9
+ from typing import Optional
10
+
11
+ __version__ = "1.0.0"
12
+
13
+ SERVER_URL = "https://api.apiverve.com/v1/mcp"
14
+ TARGETS = ("claude", "vscode", "cursor", "all")
15
+
16
+
17
+ def _user_config_dir(app_name: str) -> Path:
18
+ """Per-OS location for an app's user config directory."""
19
+ system = platform.system()
20
+
21
+ if system == "Darwin":
22
+ return Path.home() / "Library" / "Application Support" / app_name
23
+ elif system == "Windows":
24
+ appdata = os.getenv("APPDATA")
25
+ if not appdata:
26
+ raise RuntimeError("APPDATA environment variable not found")
27
+ return Path(appdata) / app_name
28
+ else:
29
+ return Path.home() / ".config" / app_name
30
+
31
+
32
+ def get_vscode_config_path() -> Path:
33
+ """VS Code moved MCP config out of settings.json into its own mcp.json."""
34
+ return _user_config_dir("Code") / "User" / "mcp.json"
35
+
36
+
37
+ def get_cursor_config_path() -> Path:
38
+ """Cursor reads ~/.cursor/mcp.json, not the app support dir."""
39
+ return Path.home() / ".cursor" / "mcp.json"
40
+
41
+
42
+ def _read_json(config_path: Path) -> dict:
43
+ if not config_path.exists():
44
+ return {}
45
+ try:
46
+ with open(config_path, "r", encoding="utf-8") as f:
47
+ return json.load(f)
48
+ except json.JSONDecodeError:
49
+ raise RuntimeError(
50
+ f"{config_path} exists but is not valid JSON. Fix or remove it, then re-run."
51
+ )
52
+
53
+
54
+ def _write_json(config_path: Path, data: dict) -> None:
55
+ config_path.parent.mkdir(parents=True, exist_ok=True)
56
+ with open(config_path, "w", encoding="utf-8") as f:
57
+ json.dump(data, f, indent=2)
58
+
59
+
60
+ def _auth_headers(api_key: Optional[str]) -> dict:
61
+ return {"headers": {"x-api-key": api_key}} if api_key else {}
62
+
63
+
64
+ def configure_claude_desktop() -> bool:
65
+ """
66
+ Claude Desktop only accepts remote MCP servers through Custom Connectors, which
67
+ cannot be configured from a file - claude_desktop_config.json is stdio-only. Print
68
+ the manual step rather than writing config Claude ignores.
69
+ """
70
+ print("[!] Claude Desktop - manual step required")
71
+ print(" Claude Desktop only accepts remote MCP servers through Custom Connectors,")
72
+ print(" which cannot be configured from a file. Add it in the app:")
73
+ print("")
74
+ print(" Settings -> Connectors -> Add custom connector")
75
+ print(f" URL: {SERVER_URL}")
76
+ print("")
77
+ print(" Claude will prompt you to sign in on first use.")
78
+ print("")
79
+ return True
80
+
81
+
82
+ def configure_vscode(api_key: Optional[str] = None) -> bool:
83
+ """Configure VS Code with the APIVerve MCP server."""
84
+ config_path = get_vscode_config_path()
85
+ config = _read_json(config_path)
86
+
87
+ config.setdefault("servers", {})
88
+ config["servers"]["apiverve"] = {
89
+ "type": "http",
90
+ "url": SERVER_URL,
91
+ **_auth_headers(api_key),
92
+ }
93
+
94
+ _write_json(config_path, config)
95
+ print(f"[ok] VS Code configured - {config_path}")
96
+ return True
97
+
98
+
99
+ def configure_cursor(api_key: Optional[str] = None) -> bool:
100
+ """Configure Cursor with the APIVerve MCP server."""
101
+ config_path = get_cursor_config_path()
102
+ config = _read_json(config_path)
103
+
104
+ # Cursor infers the transport from the presence of url; type is for stdio servers only.
105
+ config.setdefault("mcpServers", {})
106
+ config["mcpServers"]["apiverve"] = {
107
+ "url": SERVER_URL,
108
+ **_auth_headers(api_key),
109
+ }
110
+
111
+ _write_json(config_path, config)
112
+ print(f"[ok] Cursor configured - {config_path}")
113
+ return True
114
+
115
+
116
+ def _print_manual_config() -> None:
117
+ print("\nConfigure manually instead:")
118
+ print("")
119
+ print(" VS Code - mcp.json")
120
+ print(f' {{ "servers": {{ "apiverve": {{ "type": "http", "url": "{SERVER_URL}" }} }} }}')
121
+ print("")
122
+ print(" Cursor - ~/.cursor/mcp.json")
123
+ print(f' {{ "mcpServers": {{ "apiverve": {{ "url": "{SERVER_URL}" }} }} }}')
124
+ print("")
125
+ print(" Claude Desktop - Settings -> Connectors -> Add custom connector")
126
+ print(f" {SERVER_URL}")
127
+ print("")
128
+
129
+
130
+ def configure_mcp(target: str = "all", api_key: Optional[str] = None) -> bool:
131
+ """
132
+ Configure an MCP client with the APIVerve server.
133
+
134
+ Auth is negotiated, not configured: with no headers the server answers 401 with a
135
+ WWW-Authenticate challenge and the client runs OAuth. Passing api_key skips that for
136
+ headless setups by sending the key directly instead.
137
+
138
+ Args:
139
+ target: Which client to configure ("claude", "vscode", "cursor", or "all")
140
+ api_key: Optional API key. Omit to use OAuth.
141
+
142
+ Returns:
143
+ bool: True if successful, False otherwise
144
+ """
145
+ print("\nAPIVerve MCP Server Configuration\n")
146
+
147
+ # An unrecognised target used to match no branch and report success having done nothing.
148
+ if target not in TARGETS:
149
+ print(f'[error] Unknown target "{target}".')
150
+ print(f"Usage: apiverve-mcp [{'|'.join(TARGETS)}] [--api-key KEY]\n")
151
+ return False
152
+
153
+ if api_key:
154
+ print("Using API key auth - the key will be written into the config file.\n")
155
+ else:
156
+ print("Using OAuth - no key is stored; your client will prompt you to sign in.\n")
157
+
158
+ try:
159
+ if target in ("claude", "all"):
160
+ configure_claude_desktop()
161
+
162
+ if target in ("vscode", "all"):
163
+ configure_vscode(api_key)
164
+
165
+ if target in ("cursor", "all"):
166
+ configure_cursor(api_key)
167
+
168
+ print("\nDone. Restart your MCP client to pick up the change.")
169
+ print(" Manage access and API keys at https://apiverve.com\n")
170
+
171
+ return True
172
+ except Exception as e:
173
+ print(f"\n[error] Configuration failed: {e}")
174
+ _print_manual_config()
175
+ return False
@@ -0,0 +1,51 @@
1
+ """
2
+ CLI entry point for apiverve-mcp
3
+ Usage: python -m apiverve_mcp [claude|vscode|cursor|all] [--api-key KEY]
4
+ apiverve-mcp [claude|vscode|cursor|all] [--api-key KEY]
5
+
6
+ Omit --api-key to authenticate via OAuth (nothing is stored on disk).
7
+ """
8
+
9
+ import sys
10
+ from . import SERVER_URL, TARGETS, configure_mcp
11
+
12
+ USAGE = f"Usage: apiverve-mcp [{'|'.join(TARGETS)}] [--api-key KEY]"
13
+
14
+
15
+ def _parse_args(argv):
16
+ target, api_key, help_, unknown = "all", None, False, None
17
+ i = 0
18
+ while i < len(argv):
19
+ arg = argv[i]
20
+ if arg in ("-h", "--help"):
21
+ help_ = True
22
+ elif arg == "--api-key":
23
+ i += 1
24
+ api_key = argv[i] if i < len(argv) else None
25
+ elif arg.startswith("--api-key="):
26
+ api_key = arg[len("--api-key="):]
27
+ elif arg.startswith("-"):
28
+ unknown = unknown or arg
29
+ else:
30
+ target = arg
31
+ i += 1
32
+ return target, api_key, help_, unknown
33
+
34
+
35
+ def main():
36
+ """Main CLI entry point"""
37
+ target, api_key, help_, unknown = _parse_args(sys.argv[1:])
38
+ # Without this, --help fell through to the default target and wrote every client's config.
39
+ if help_:
40
+ print(f"{USAGE}\n\nAdds the APIVerve MCP server ({SERVER_URL}) to Claude Desktop, VS Code and Cursor.")
41
+ print("Omit --api-key to sign in with OAuth; nothing is stored on disk.")
42
+ sys.exit(0)
43
+ if unknown:
44
+ print(f'Unknown option "{unknown}".\n{USAGE}', file=sys.stderr)
45
+ sys.exit(1)
46
+ success = configure_mcp(target, api_key)
47
+ sys.exit(0 if success else 1)
48
+
49
+
50
+ if __name__ == "__main__":
51
+ main()
@@ -0,0 +1,319 @@
1
+ Metadata-Version: 2.4
2
+ Name: apiverve-mcp
3
+ Version: 1.1.3
4
+ Summary: APIVerve MCP Server - Access 388+ APIs through the Model Context Protocol
5
+ Home-page: https://apiverve.com
6
+ Author: APIVerve
7
+ Author-email: APIVerve <hello@apiverve.com>
8
+ License: MIT
9
+ Project-URL: Homepage, https://apiverve.com
10
+ Project-URL: Documentation, https://docs.apiverve.com
11
+ Project-URL: Repository, https://github.com/apiverve/mcp-server
12
+ Project-URL: Issues, https://github.com/apiverve/mcp-server/issues
13
+ Keywords: mcp,mcp-server,model-context-protocol,apiverve,api,claude,chatgpt,ai,llm
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Requires-Python: >=3.8
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: author
26
+ Dynamic: home-page
27
+ Dynamic: license-file
28
+ Dynamic: requires-python
29
+
30
+ # APIVerve MCP Server
31
+
32
+ <div align="center">
33
+
34
+ <img src="https://apiverve.com/images/favicon.png" alt="APIVerve Logo" width="80" />
35
+
36
+ **388+ APIs accessible through the Model Context Protocol**
37
+
38
+ [![npm version](https://img.shields.io/npm/v/@apiverve/mcp-server)](https://www.npmjs.com/package/@apiverve/mcp-server)
39
+ [![PyPI version](https://img.shields.io/pypi/v/apiverve-mcp)](https://pypi.org/project/apiverve-mcp/)
40
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
41
+ [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://modelcontextprotocol.io)
42
+
43
+ [Website](https://apiverve.com) • [Documentation](https://docs.apiverve.com) • [API Explorer](https://apiverve.com/marketplace) • [Report Bug](https://github.com/apiverve/mcp-server/issues)
44
+
45
+ </div>
46
+
47
+ ## 🚀 Overview
48
+
49
+ The **APIVerve MCP Server** provides seamless access to 388+ production-ready APIs through the [Model Context Protocol](https://modelcontextprotocol.io). Connect AI assistants like Claude, ChatGPT, and other MCP-compatible clients to a vast ecosystem of data and functionality.
50
+
51
+ ### ✨ Features
52
+
53
+ - 🎯 **388+ APIs** - Weather, news, geocoding, validation, conversion, and more
54
+ - 🔐 **OAuth 2.0 Authentication** - Secure, industry-standard authentication
55
+ - 📊 **Token-Based Pricing** - Pay only for what you use
56
+ - 🚀 **High Performance** - Cloud-hosted with 99%+ uptime
57
+ - 📖 **Rich Documentation** - Complete API documentation with examples
58
+ - 🔄 **Auto-Updated** - Always access the latest API features
59
+
60
+ ## 📦 Installation
61
+
62
+ APIVerve is a **remote** MCP server — there is nothing to run locally. Point your client at the URL below and it will handle sign-in for you.
63
+
64
+ ### One-click install
65
+
66
+ [![Add APIVerve to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=apiverve&config=eyJ1cmwiOiJodHRwczovL2FwaS5hcGl2ZXJ2ZS5jb20vdjEvbWNwIn0%3D) [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=apiverve&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.apiverve.com%2Fv1%2Fmcp%22%7D)
67
+
68
+ This repo is also a Cursor plugin (`.cursor-plugin/`) and a Gemini CLI extension (`gemini-extension.json`): each adds the server plus a skill that tells the agent when and how to use the tools.
69
+
70
+ **Gemini CLI:**
71
+
72
+ ```bash
73
+ gemini extensions install https://github.com/apiverve/mcp-server
74
+ ```
75
+
76
+ ### Quick setup
77
+
78
+ ```bash
79
+ npx @apiverve/mcp-server
80
+ ```
81
+
82
+ Configures VS Code and Cursor, and prints the manual step for Claude Desktop. Target one client with `npx @apiverve/mcp-server cursor`.
83
+
84
+ For headless setups, pass a key instead of using sign-in:
85
+
86
+ ```bash
87
+ npx @apiverve/mcp-server --api-key YOUR_API_KEY
88
+ ```
89
+
90
+ Python users can do the same with `pip install apiverve-mcp` then `apiverve-mcp` (or `apiverve-mcp --api-key YOUR_API_KEY`).
91
+
92
+ ### Manual setup
93
+
94
+ **Claude Desktop** — remote servers are added through the app, not a config file:
95
+
96
+ > Settings → Connectors → Add custom connector → `https://api.apiverve.com/v1/mcp`
97
+
98
+ **VS Code** (`mcp.json`):
99
+ ```json
100
+ {
101
+ "servers": {
102
+ "apiverve": {
103
+ "type": "http",
104
+ "url": "https://api.apiverve.com/v1/mcp"
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ **Cursor** (`~/.cursor/mcp.json`):
111
+ ```json
112
+ {
113
+ "mcpServers": {
114
+ "apiverve": {
115
+ "url": "https://api.apiverve.com/v1/mcp"
116
+ }
117
+ }
118
+ }
119
+ ```
120
+
121
+ ## 🔑 Authentication
122
+
123
+ Two ways in — pick whichever fits:
124
+
125
+ **OAuth (default, recommended)** — leave the config as shown above. On first use the server returns an authorization challenge and your client walks you through sign-in. No key is stored on disk, and access can be revoked from the dashboard.
126
+
127
+ **API key** — add your key as a header. Useful for CI and headless environments where no browser is available:
128
+
129
+ ```json
130
+ {
131
+ "mcpServers": {
132
+ "apiverve": {
133
+ "url": "https://api.apiverve.com/v1/mcp",
134
+ "headers": { "x-api-key": "YOUR_API_KEY" }
135
+ }
136
+ }
137
+ }
138
+ ```
139
+
140
+ Claude Desktop's Custom Connectors cannot send custom headers, so it is OAuth-only.
141
+
142
+ Get a key at [https://apiverve.com](https://apiverve.com). **Free tier available** — no credit card required to start!
143
+
144
+ ## 🎯 Available APIs
145
+
146
+ <details>
147
+ <summary><b>Click to see all 388+ available APIs</b></summary>
148
+
149
+ ### 🌤️ Weather & Environment
150
+ - Weather Forecast
151
+ - Air Quality
152
+ - Marine Weather
153
+ - UV Index
154
+ - Weather Seasons
155
+ - And more...
156
+
157
+ ### 🌍 Location & Geocoding
158
+ - Reverse Geocoding
159
+ - IP Lookup
160
+ - Timezone Lookup
161
+ - Airports Lookup
162
+ - Distance Calculator
163
+ - And more...
164
+
165
+ ### ✅ Validation & Verification
166
+ - Email Validator
167
+ - Phone Number Validator
168
+ - Domain Availability
169
+ - SSL Certificate Checker
170
+ - And more...
171
+
172
+ ### 🔄 Conversion & Calculation
173
+ - Currency Converter
174
+ - Unit Converter
175
+ - Date Calculator
176
+ - BMI Calculator
177
+ - And more...
178
+
179
+ ### 📰 News & Content
180
+ - World News
181
+ - RSS to JSON
182
+ - Web Scraper
183
+ - Metadata Extractor
184
+ - And more...
185
+
186
+ ### 🎲 Random Data Generators
187
+ - Random User Generator
188
+ - Password Generator
189
+ - Lorem Ipsum Generator
190
+ - And more...
191
+
192
+ **[See complete API list →](https://apiverve.com/marketplace)**
193
+
194
+ </details>
195
+
196
+ ## 💡 Usage Examples
197
+
198
+ Once configured, use APIs naturally in conversation:
199
+
200
+ ### With Claude Desktop
201
+
202
+ ```
203
+ User: What's the weather in San Francisco?
204
+ Claude: [Uses Weather API]
205
+
206
+ User: Validate this email: test@example.com
207
+ Claude: [Uses Email Validator API]
208
+
209
+ User: Convert 100 USD to EUR
210
+ Claude: [Uses Currency Converter API]
211
+ ```
212
+
213
+ ### Programmatic Usage (Python)
214
+
215
+ Connect straight to the remote server — no local process involved:
216
+
217
+ ```python
218
+ from mcp import ClientSession
219
+ from mcp.client.streamable_http import streamablehttp_client
220
+
221
+ url = "https://api.apiverve.com/v1/mcp"
222
+ headers = {"x-api-key": "YOUR_API_KEY"}
223
+
224
+ async with streamablehttp_client(url, headers=headers) as (read, write, _):
225
+ async with ClientSession(read, write) as session:
226
+ await session.initialize()
227
+
228
+ # List available tools
229
+ tools = await session.list_tools()
230
+
231
+ # Call a tool
232
+ result = await session.call_tool("emailvalidator", {
233
+ "email": "test@example.com"
234
+ })
235
+ ```
236
+
237
+ ## 📊 Pricing
238
+
239
+ APIVerve uses a flexible token-based pricing model with multiple tiers to fit your needs:
240
+
241
+ - **Free Tier Available** - Start building immediately, no credit card required
242
+ - **Pay-as-you-go** - Scale up as your usage grows
243
+ - **Enterprise Plans** - Custom solutions for high-volume users
244
+
245
+ **[View Pricing Plans →](https://apiverve.com/pricing)**
246
+
247
+ Credit costs vary by API complexity - simple APIs start at 1 credit per call.
248
+
249
+ ## 🛠️ Technical Details
250
+
251
+ ### Server Information
252
+
253
+ - **Transport**: Streamable HTTP
254
+ - **Protocol**: MCP 2025-06-18 (negotiates down to 2025-03-26 and 2024-11-05)
255
+ - **Authentication**: OAuth 2.0 with PKCE, or `x-api-key` header
256
+ - **Base URL**: `https://api.apiverve.com/v1/mcp`
257
+ - **API Version**: 1.1.3
258
+
259
+ ### OAuth Endpoints
260
+
261
+ - **Discovery**: `https://api.apiverve.com/.well-known/openid-configuration`
262
+ - **Authorization**: `https://api.apiverve.com/authorize`
263
+ - **Token**: `https://api.apiverve.com/token`
264
+ - **Registration**: `https://api.apiverve.com/register` (Dynamic client registration)
265
+
266
+ ### Tool Schema
267
+
268
+ Each API is exposed as an MCP tool with:
269
+ - **name**: API identifier (e.g., `emailvalidator`)
270
+ - **description**: Human-readable description with token cost
271
+ - **inputSchema**: JSON Schema defining required/optional parameters
272
+
273
+ ## 🔧 Troubleshooting
274
+
275
+ ### Connection Issues
276
+
277
+ If you see authentication errors:
278
+
279
+ 1. Check your API key at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
280
+ 2. Ensure OAuth redirect URI is correct
281
+ 3. Try re-authorizing the connection
282
+
283
+ ### Token Limits
284
+
285
+ If you hit token limits:
286
+ - Check usage at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
287
+ - Upgrade your plan
288
+ - Contact support for enterprise options
289
+
290
+ ## 📚 Documentation
291
+
292
+ - **API Documentation**: [https://docs.apiverve.com](https://docs.apiverve.com)
293
+ - **MCP Specification**: [modelcontextprotocol.io](https://modelcontextprotocol.io)
294
+ - **Getting Started Guide**: [https://apiverve.com/docs/getting-started](https://apiverve.com/docs/getting-started)
295
+
296
+ ## 🤝 Support
297
+
298
+ - **GitHub Issues**: [apiverve/mcp-server/issues](https://github.com/apiverve/mcp-server/issues)
299
+ - **Email**: hello@apiverve.com
300
+ - **Privacy Policy**: [apiverve.com/privacy](https://apiverve.com/privacy)
301
+ - **Discord**: [Join our community](https://apiverve.com/discord)
302
+
303
+ ## 📄 License
304
+
305
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
306
+
307
+ ## 🌟 Star Us!
308
+
309
+ If you find this useful, please consider starring the repo on GitHub!
310
+
311
+ ---
312
+
313
+ <div align="center">
314
+
315
+ **Built with ❤️ by [APIVerve](https://apiverve.com)**
316
+
317
+ [Website](https://apiverve.com) • [Dashboard](https://apiverve.com/dashboard) • [API Explorer](https://apiverve.com/marketplace) • [Documentation](https://docs.apiverve.com)
318
+
319
+ </div>
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ setup.py
5
+ src/apiverve_mcp/__init__.py
6
+ src/apiverve_mcp/__main__.py
7
+ src/apiverve_mcp.egg-info/PKG-INFO
8
+ src/apiverve_mcp.egg-info/SOURCES.txt
9
+ src/apiverve_mcp.egg-info/dependency_links.txt
10
+ src/apiverve_mcp.egg-info/entry_points.txt
11
+ src/apiverve_mcp.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ apiverve-mcp = apiverve_mcp.__main__:main
@@ -0,0 +1 @@
1
+ apiverve_mcp