APIWeaver

GongRzhe/APIWeaver

4.0

APIWeaver is hosted online, so all tools can be tested directly either in theInspector tabor in theOnline Client.

If you are the rightful owner of APIWeaver and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

APIWeaver is a FastMCP server that dynamically creates MCP servers from web API configurations, enabling easy integration of REST APIs, GraphQL endpoints, or web services into MCP-compatible tools for AI assistants.

Try APIWeaver with chat:

Tools

Functions exposed to the LLM to take actions

register_api

Register a new API configuration and create MCP tools for its endpoints.

Args: config: API configuration dictionary containing: - name: API name - base_url: Base URL for the API - description: Optional API description - auth: Optional authentication configuration - headers: Optional global headers - endpoints: List of endpoint configurations

Returns: Success message with list of created tools

list_apis

List all registered APIs and their endpoints.

Returns: Dictionary of registered APIs with their configurations

unregister_api

Unregister an API and remove its tools.

Args: api_name: Name of the API to unregister

Returns: Success message

test_api_connection

Test connection to a registered API.

Args: api_name: Name of the API to test

Returns: Connection test results

call_api

Call any registered API endpoint with dynamic parameters.

This is a generic tool that allows calling any registered API endpoint without having to use the specific endpoint tools. Useful for ad-hoc API calls or when you want more flexibility.

Args: api_name: Name of the registered API to call endpoint_name: Name of the endpoint within the API parameters: Dictionary of parameters to pass to the endpoint ctx: Optional context for logging

Returns: API response data and metadata

Example: # Call OpenWeatherMap API result = await call_api( api_name="OpenWeatherMap", endpoint_name="get_weather", parameters={"q": "London", "units": "metric"} )

# Call GitHub API
result = await call_api(
    api_name="GitHub",
    endpoint_name="get_user",
    parameters={"username": "octocat"}
)

get_api_schema

Get the schema/documentation for an API or specific endpoint.

This tool helps understand what parameters are available for API calls and their requirements before making actual calls.

Args: api_name: Name of the registered API endpoint_name: Optional specific endpoint name. If not provided, returns all endpoints ctx: Optional context for logging

Returns: Schema information for the API or endpoint

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources