MCP API Integration Server
Provides tools for retrieving GitHub user profile information and searching GitHub repositories.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP API Integration Serverwhat's the weather in London?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP API Integration Server
A Python MCP server that provides tools for interacting with various APIs.
Features
This MCP server includes the following tools:
get_weather - Get current weather information for any city
get_joke - Get a random programming joke
get_user_info - Get GitHub user profile information
search_repositories - Search GitHub repositories
make_http_request - Make custom HTTP requests to any API endpoint
Related MCP server: MCP Utility Kit
Installation
Install dependencies:
pip install -r requirements.txtRun the server:
python server.pyUsage Examples
Weather Tool
# Get live weather data (real-time from Open-Meteo, free, no API key required)
result = await get_weather("London")GitHub Tools
# Get user info
user = await get_user_info("octocat")
# Search repositories
repos = await search_repositories("python machine learning", limit=10)Custom HTTP Requests
# GET request
response = await make_http_request("https://api.example.com/data")
# POST request
response = await make_http_request(
"https://api.example.com/users",
method="POST",
json_body={"name": "John", "email": "john@example.com"}
)Adding Your Own API Integrations
To add more API tools, simply create new functions decorated with @mcp.tool():
@mcp.tool()
async def my_custom_api(parameter: str) -> Dict[str, Any]:
"""
Description of what this tool does.
Args:
parameter: Description of the parameter
Returns:
Description of the return value
"""
async with httpx.AsyncClient() as client:
response = await client.get(f"https://api.example.com/{parameter}")
return response.json()Configuration
You can configure API keys and other settings by:
Passing them as parameters to the tools
Setting environment variables
Creating a configuration file
Requirements
Python 3.10+
mcp-server package
httpx (async HTTP client)
This server cannot be deployed
Maintenance
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
30+ web-access and AI APIs behind one key: search, scraping, browsers, voice, OCR and LLMs.
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Give your agent live data from Twitter, Reddit, the web and GitHub. No API keys, no scraping stack.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI to query live weather, domains, IPs, DNS, SSL, currency rates, and more via the APIFreaks API.41283 npmApache 2.0
- AlicenseAqualityCmaintenanceProvides utility tools including random jokes, current weather, and name-based age prediction.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching GitHub users and repositories, fetching details, and performing stock market technical analysis via AlphaVantage.-
- AlicenseAqualityDmaintenanceEnables access to 11 free public APIs including weather, country info, NASA data, dictionary, and more, with zero configuration and no API keys required.12MIT