@apiverve/mcp-server 1.0.0

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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 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.
package/README.md ADDED
@@ -0,0 +1,273 @@
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
+ **249+ 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/issues)
15
+
16
+ </div>
17
+
18
+ ## 🚀 Overview
19
+
20
+ The **APIVerve MCP Server** provides seamless access to 249+ 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
+ - 🎯 **249+ 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
+ ### For Claude Desktop / MCP Clients
34
+
35
+ Add to your MCP settings file:
36
+
37
+ **Claude Desktop (`claude_desktop_config.json`):**
38
+ ```json
39
+ {
40
+ "mcpServers": {
41
+ "apiverve": {
42
+ "type": "sse",
43
+ "url": "https://api.apiverve.com/v1/mcp"
44
+ }
45
+ }
46
+ }
47
+ ```
48
+
49
+ **VS Code / Visual Studio:**
50
+ ```json
51
+ {
52
+ "inputs": [],
53
+ "servers": {
54
+ "APIVerve": {
55
+ "type": "sse",
56
+ "url": "https://api.apiverve.com/v1/mcp",
57
+ "headers": {}
58
+ }
59
+ }
60
+ }
61
+ ```
62
+
63
+ ### NPM Package
64
+
65
+ ```bash
66
+ npm install -g @apiverve/mcp-server
67
+ ```
68
+
69
+ Then run:
70
+ ```bash
71
+ apiverve-mcp install
72
+ ```
73
+
74
+ This will automatically configure your MCP client.
75
+
76
+ ### Python Package
77
+
78
+ ```bash
79
+ pip install apiverve-mcp
80
+ ```
81
+
82
+ ```python
83
+ from apiverve_mcp import configure_mcp
84
+
85
+ # Auto-configure MCP client
86
+ configure_mcp()
87
+ ```
88
+
89
+ ## 🔑 Authentication
90
+
91
+ APIVerve uses OAuth 2.0 for secure authentication:
92
+
93
+ 1. **Sign up** at [https://apiverve.com](https://apiverve.com)
94
+ 2. **Get your API key** from the dashboard
95
+ 3. **Authorize** when prompted by your MCP client
96
+ 4. **Start using** 249+ APIs immediately
97
+
98
+ **Free tier available** - No credit card required to start!
99
+
100
+ ## 🎯 Available APIs
101
+
102
+ <details>
103
+ <summary><b>Click to see all 249+ available APIs</b></summary>
104
+
105
+ ### 🌤️ Weather & Environment
106
+ - Weather Forecast
107
+ - Air Quality
108
+ - Marine Weather
109
+ - UV Index
110
+ - Weather Seasons
111
+ - And more...
112
+
113
+ ### 🌍 Location & Geocoding
114
+ - Reverse Geocoding
115
+ - IP Lookup
116
+ - Timezone Lookup
117
+ - Airports Lookup
118
+ - Distance Calculator
119
+ - And more...
120
+
121
+ ### ✅ Validation & Verification
122
+ - Email Validator
123
+ - Phone Number Validator
124
+ - Domain Availability
125
+ - SSL Certificate Checker
126
+ - And more...
127
+
128
+ ### 🔄 Conversion & Calculation
129
+ - Currency Converter
130
+ - Unit Converter
131
+ - Date Calculator
132
+ - BMI Calculator
133
+ - And more...
134
+
135
+ ### 📰 News & Content
136
+ - World News
137
+ - RSS to JSON
138
+ - Web Scraper
139
+ - Metadata Extractor
140
+ - And more...
141
+
142
+ ### 🎲 Random Data Generators
143
+ - Random User Generator
144
+ - Password Generator
145
+ - Lorem Ipsum Generator
146
+ - And more...
147
+
148
+ **[See complete API list →](https://apiverve.com/marketplace)**
149
+
150
+ </details>
151
+
152
+ ## 💡 Usage Examples
153
+
154
+ Once configured, use APIs naturally in conversation:
155
+
156
+ ### With Claude Desktop
157
+
158
+ ```
159
+ User: What's the weather in San Francisco?
160
+ Claude: [Uses Weather API]
161
+
162
+ User: Validate this email: test@example.com
163
+ Claude: [Uses Email Validator API]
164
+
165
+ User: Convert 100 USD to EUR
166
+ Claude: [Uses Currency Converter API]
167
+ ```
168
+
169
+ ### Programmatic Usage (Python)
170
+
171
+ ```python
172
+ from mcp import ClientSession, StdioServerParameters
173
+ from mcp.client.stdio import stdio_client
174
+
175
+ async with stdio_client(StdioServerParameters(
176
+ command="apiverve-mcp",
177
+ args=[]
178
+ )) as (read, write):
179
+ async with ClientSession(read, write) as session:
180
+ # Initialize
181
+ await session.initialize()
182
+
183
+ # List available tools
184
+ tools = await session.list_tools()
185
+
186
+ # Call a tool
187
+ result = await session.call_tool("emailvalidator", {
188
+ "email": "test@example.com"
189
+ })
190
+ ```
191
+
192
+ ## 📊 Pricing
193
+
194
+ APIVerve uses a flexible token-based pricing model with multiple tiers to fit your needs:
195
+
196
+ - **Free Tier Available** - Start building immediately, no credit card required
197
+ - **Pay-as-you-go** - Scale up as your usage grows
198
+ - **Enterprise Plans** - Custom solutions for high-volume users
199
+
200
+ **[View Pricing Plans →](https://apiverve.com/pricing)**
201
+
202
+ Token costs vary by API complexity - simple APIs start at 1 token per call.
203
+
204
+ ## 🛠️ Technical Details
205
+
206
+ ### Server Information
207
+
208
+ - **Type**: Server-Sent Events (SSE)
209
+ - **Protocol**: MCP 2024-11-05
210
+ - **Authentication**: OAuth 2.0 with PKCE
211
+ - **Base URL**: `https://api.apiverve.com/v1/mcp`
212
+ - **API Version**: 1.0.0
213
+
214
+ ### OAuth Endpoints
215
+
216
+ - **Discovery**: `https://api.apiverve.com/.well-known/openid-configuration`
217
+ - **Authorization**: `https://api.apiverve.com/authorize`
218
+ - **Token**: `https://api.apiverve.com/token`
219
+ - **Registration**: `https://api.apiverve.com/register` (Dynamic client registration)
220
+
221
+ ### Tool Schema
222
+
223
+ Each API is exposed as an MCP tool with:
224
+ - **name**: API identifier (e.g., `emailvalidator`)
225
+ - **description**: Human-readable description with token cost
226
+ - **inputSchema**: JSON Schema defining required/optional parameters
227
+
228
+ ## 🔧 Troubleshooting
229
+
230
+ ### Connection Issues
231
+
232
+ If you see authentication errors:
233
+
234
+ 1. Check your API key at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
235
+ 2. Ensure OAuth redirect URI is correct
236
+ 3. Try re-authorizing the connection
237
+
238
+ ### Token Limits
239
+
240
+ If you hit token limits:
241
+ - Check usage at [https://apiverve.com/dashboard](https://apiverve.com/dashboard)
242
+ - Upgrade your plan
243
+ - Contact support for enterprise options
244
+
245
+ ## 📚 Documentation
246
+
247
+ - **API Documentation**: [https://docs.apiverve.com](https://docs.apiverve.com)
248
+ - **MCP Specification**: [modelcontextprotocol.io](https://modelcontextprotocol.io)
249
+ - **Getting Started Guide**: [https://apiverve.com/docs/getting-started](https://apiverve.com/docs/getting-started)
250
+
251
+ ## 🤝 Support
252
+
253
+ - **GitHub Issues**: [apiverve/mcp/issues](https://github.com/apiverve/mcp/issues)
254
+ - **Email**: hello@apiverve.com
255
+ - **Discord**: [Join our community](https://apiverve.com/discord)
256
+
257
+ ## 📄 License
258
+
259
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
260
+
261
+ ## 🌟 Star Us!
262
+
263
+ If you find this useful, please consider starring the repo on GitHub!
264
+
265
+ ---
266
+
267
+ <div align="center">
268
+
269
+ **Built with ❤️ by [APIVerve](https://apiverve.com)**
270
+
271
+ [Website](https://apiverve.com) • [Dashboard](https://apiverve.com/dashboard) • [API Explorer](https://apiverve.com/marketplace) • [Documentation](https://docs.apiverve.com)
272
+
273
+ </div>
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@apiverve/mcp-server",
3
+ "version": "1.0.0",
4
+ "description": "APIVerve MCP Server - Access 249+ APIs through the Model Context Protocol",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "apiverve-mcp": "./bin/install.js"
8
+ },
9
+ "keywords": [
10
+ "mcp",
11
+ "mcp-server",
12
+ "model-context-protocol",
13
+ "apiverve",
14
+ "api",
15
+ "claude",
16
+ "chatgpt",
17
+ "ai",
18
+ "llm"
19
+ ],
20
+ "author": "APIVerve",
21
+ "license": "MIT",
22
+ "homepage": "https://apiverve.com",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/apiverve/mcp.git"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/apiverve/mcp/issues"
29
+ },
30
+ "mcpServers": {
31
+ "apiverve": {
32
+ "type": "sse",
33
+ "url": "https://api.apiverve.com/v1/mcp"
34
+ }
35
+ }
36
+ }
package/pyproject.toml ADDED
@@ -0,0 +1,29 @@
1
+ [build-system]
2
+ requires = ["setuptools>=45", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "apiverve-mcp"
7
+ version = "1.0.0"
8
+ description = "APIVerve MCP Server - Access 249+ 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"
29
+ Issues = "https://github.com/apiverve/mcp/issues"
package/setup.py ADDED
@@ -0,0 +1,31 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name='apiverve-mcp',
5
+ version='1.0.0',
6
+ description='APIVerve MCP Server - Access 249+ APIs through the Model Context Protocol',
7
+ long_description=open('README.md').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',
15
+ 'Tracker': 'https://github.com/apiverve/mcp/issues',
16
+ },
17
+ packages=find_packages(),
18
+ classifiers=[
19
+ 'Development Status :: 5 - Production/Stable',
20
+ 'Intended Audience :: Developers',
21
+ 'License :: OSI Approved :: MIT License',
22
+ 'Programming Language :: Python :: 3',
23
+ 'Programming Language :: Python :: 3.8',
24
+ 'Programming Language :: Python :: 3.9',
25
+ 'Programming Language :: Python :: 3.10',
26
+ 'Programming Language :: Python :: 3.11',
27
+ 'Topic :: Software Development :: Libraries :: Python Modules',
28
+ ],
29
+ python_requires='>=3.8',
30
+ keywords='mcp mcp-server model-context-protocol apiverve api claude chatgpt ai llm',
31
+ )