Skip to main content
Glama

Paper Search MCP

by openags
test_arxiv.py597 B
# tests/test_arxiv.py import unittest from paper_search_mcp.academic_platforms.arxiv import ArxivSearcher class TestArxivSearcher(unittest.TestCase): def test_search(self): searcher = ArxivSearcher() papers = searcher.search("machine learning", max_results=10) print(f"Found {len(papers)} papers for query 'machine learning':") for i, paper in enumerate(papers, 1): print(f"{i}. {paper.title} (ID: {paper.paper_id})") self.assertEqual(len(papers), 10) self.assertTrue(papers[0].title) if __name__ == '__main__': unittest.main()

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openags/paper-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server