We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LinXueyuanStdio/academic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_jstor.py•586 B
# tests/test_jstor.py
import unittest
from academic_mcp.sources.jstor import JSTORSearcher
class TestJSTORSearcher(unittest.TestCase):
def test_search(self):
"""Test JSTOR search (no free API available)"""
searcher = JSTORSearcher()
papers = searcher.search("machine learning", max_results=5)
print("JSTOR does not provide a free public API")
print("Please use institutional access at https://www.jstor.org/")
# Expected to return empty list
self.assertEqual(len(papers), 0)
if __name__ == '__main__':
unittest.main()