MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / get_http_client

Function get_http_client

mcp_server/utils.py:36–40  ·  view source on GitHub ↗

Create a configured async HTTP client.

(**kwargs)

Source from the content-addressed store, hash-verified

34
35
36def get_http_client(**kwargs) -> httpx.AsyncClient:
37 """Create a configured async HTTP client."""
38 defaults = {"timeout": 30.0, "follow_redirects": True}
39 defaults.update(kwargs)
40 return httpx.AsyncClient(**defaults)
41
42
43async def fetch_with_retry(

Callers 11

search_semantic_scholarFunction · 0.90
get_paper_detailsFunction · 0.90
get_papers_batchFunction · 0.90
search_paper_by_titleFunction · 0.90
search_openalexFunction · 0.90
search_openalex_by_titleFunction · 0.90
_fetch_referenced_worksFunction · 0.90
search_arxivFunction · 0.90
search_reposFunction · 0.90
download_and_extractFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected