Sponsored by Deepsite.site

API-MARKET MCP Server

Created By
Noveum9 months ago
API Market MCP Servers
Content

API-MARKET MCP Server

About

A Model Context Protocol (MCP) server that exposes API-Market's endpoints as MCP resources. This server allows Large Language Models to discover and interact with APIs defined by OpenAPI specifications through the MCP protocol.
This repository provides access to the APIs available at API.market. The tool is free to use and allows agents to communicate freely with all available APIs, making it super powerful. With over 200+ APIs available at API.market, you can leverage a wide range of functionalities.

Quick Start

You do not need to clone this repository to use this MCP server. You can simply configure it in your client of choice.

For Claude Desktop

  1. Locate or create your Claude Desktop configuration file:
    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the following configuration to enable the API-Market MCP server:
    {
      "mcpServers": {
        "api-market": {
          "command": "npx",
          "args": ["-y", "@noveum-ai/mcp-server"],
          "env": {
            "API_HEADERS": "x-magicapi-key:your-api-key"
          }
        }
      }
    }
    

For Cursor

  1. Go to File -> Preferences -> Cursor Settings.
  2. Select MCP.
  3. Click on Add new global MCP Server.
  4. Paste the following into the mcp.json file.
  {
    "mcpServers": {
      "api-market": {
        "command": "npx",
        "args": [
          "-y",
          "@noveum-ai/mcp-server",
          "--headers",
          "x-magicapi-key:<your-api-key>"
        ]
      }
    }
  }

Alternatively, add this as the first entry in mcpServers.

    "api-market": {
      "command": "npx",
      "args": [
        "-y",
        "@noveum-ai/mcp-server",
        "--headers",
        "x-magicapi-key:<your-api-key>"
      ]
    },
  1. For older versions of Cursor, add the following command after clicking on Add new MCP server
npx -y @noveum-ai/mcp-server --headers x-magicapi-key:your-api-key

Getting an API Key from API.market

To obtain an API key

  1. Log in to API.market
  2. Go to your profile and select 'My API Keys'
  3. Your API keys will be displayed here

List of APIs in this MCP

Example and Usage

Example 1

We can use the agent to find a route between any two points

Example 1

Example 2

We can use the agent to find news about any topic, and then dig deeper into the articles

Example 2.1 Example 2.2

Example 3

We can use the agent to look for available domains

Example 3

Development

Adding a New API to the MCP Server

The utils folder contains helper scripts for managing API configurations, parsing OpenAPI specifications, and registering new APIs into the MCP server.

1. Locate the OpenAPI Specification

Find the OpenAPI JSON for the API you want to integrate. After that, create a folder json_files in the root directory of the project and add your OpenAPI JSON spec to the folder

2. Modify the OpenAPI Specification

After obtaining the OpenAPI spec, use modify_api.py to update the path inside the spec to include the file name.

python utils/modify_api.py

3. Update API Summaries

After modifying the paths, update the API summaries by choosing one of the following options:

  • Automatically shorten summaries using an LLM:
python utils/LLM_summary_shortener.py 
  • Manually update the summaries:
python utils/manual_summary_shortener.py 

4. Build and Test

Rebuild the project to apply the changes:

npm run build

Then, test the new API integration using:

npm run inspect

5. Submit Your Changes

If you want to contribute this new API to the repository:

  • Fork the repo.
  • Create a branch.
  • Submit a pull request (PR).

6. Publish the MCP server (Optional)

If you want to publish your changes:

  • Update the package.json accordingly (e.g., update the version, name, etc.).
  • Publish the package:
npm publish --access public

Development Tools

Building

  • npm run build - Builds the TypeScript source.
  • npm run clean - Removes build artifacts.
  • npm run typecheck - Runs TypeScript type checking.

Development Mode

  • npm run dev - Watches source files and rebuilds on changes.
  • npm run inspect-watch - Runs the inspector with auto-reload on changes.

Code Quality

  • npm run lint - Runs ESLint.
  • npm run typecheck - Verifies TypeScript types.

Command Line Arguments

npm run inspect -- \
  --api-base-url https://api.magicapi.dev/api/v1/ \
  --openapi-spec modified_files.txt \
  --headers "x-magicapi-key:your-api-key" \
  --name "my-mcp-server" \
  --version "1.0.0"

Development Workflow

  1. Start the development environment:
npm run inspect-watch
  1. Modify the TypeScript files in src/.
  2. The server will automatically rebuild and restart.
  3. Use the MCP Inspector UI to test your changes.

Debugging or Running Locally

To debug or run the MCP server locally:

  1. Clone the repository and install dependencies:
git clone https://github.com/Noveum/api-market-mcp-server.git
cd api-market-mcp-server
npm install
  1. Build the server:
npm run build
  1. For debugging, you can run:
npm run inspect 

Contributing

  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Run tests and linting:
npm run typecheck
npm run lint
  1. Submit a pull request.

License

MIT

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Playwright McpPlaywright MCP server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.