Skip to main content
Glama

MCP Server

  1. Create virtual environment and activate it

    uv venv
    source .venv/bin/activate
  2. Install dependencies

    uv add mcp httpx arxiv
  3. To launch it by running

    uv --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp run server.py
  4. Create .env file

    touch .env
  5. Add your key to the .env file:

    ANTHROPIC_API_KEY=<your_key_here>
  6. To test your MCP Server you can use mcp inspector

    npx @modelcontextprotocol/inspector uv run server.py

MCP Client

  1. Install required packages

    uv add mcp anthropic python-dotenv nest_asyncio
  2. To run your client with any MCP server:

    uv run client.py path/to/server.py # python server
    uv run client.py path/to/build/index.js # node server

    Relative path

    uv run client.py ./server/server.py

    Absolute path

    uv run client.py /Users/username/projects/mcp/server.py

    Windows path (either format works)

    uv run client.py C:/projects/mcp/server.py
    uv run client.py C:\\projects\\mcp\\server.py

Deployment

  1. If the server using pip instead of uv

    uv pip compile pyproject.toml > requirements.txt
  2. Make sure the server use the right python version

    echo "python-3.11.11" > runtime.txt
  3. Input the required environment variables

  4. Run the mcp server

    python server.py

references :

Available Tools

4 tools
extract_infoC
Search for information about a specific paper across all topic directories.

Args:
    paper_id: The ID of the paper to look for
    
Returns:
    JSON string with paper information if found, error message if not found

Inputs: paper_id (required).

get_alertsA

Get weather alerts for a US state.

Args:
    state: Two-letter US state code (e.g. CA, NY)

Inputs: state (required).

get_forecastB

Get weather forecast for a location.

Args:
    latitude: Latitude of the location
    longitude: Longitude of the location

Inputs: latitude (required), longitude (required).

search_papersB
Search for papers on arXiv based on a topic and store their information.

Args:
    topic: The topic to search for
    max_results: Maximum number of results to retrieve (default: 5)
    
Returns:
    List of paper IDs found in the search

Inputs: topic (required), max_results.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools are mostly distinct, with two focused on weather (get_alerts, get_forecast) and two on arXiv papers (extract_info, search_papers). However, extract_info and search_papers could be slightly confused as both involve paper searching, though their purposes differ (specific lookup vs. topic-based discovery).

    Naming Consistency3/5

    The naming uses a verb_noun pattern (extract_info, get_alerts, get_forecast, search_papers), which is consistent. However, there is a minor inconsistency with 'extract_info' using a different verb style compared to 'get' and 'search', making it slightly less uniform.

    Tool Count2/5

    With only 4 tools, the server appears to cover two unrelated domains (weather and arXiv papers), making the scope too broad and thin for each. A more focused server would typically have 3-15 tools per domain, so this feels incomplete and mismatched.

    Completeness2/5

    For the arXiv domain, there are basic search and lookup tools but no CRUD operations (e.g., save, update, delete papers). For weather, alerts and forecasts are covered, but there are gaps like historical data or multi-location queries. The combined domains lack cohesive coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers